Skip to content

Commit 05dc2f9

Browse files
committed
DPL: avoid pragma once
1 parent 8dddc15 commit 05dc2f9

File tree

1 file changed

+3
-1
lines changed
  • Framework/Foundation/3rdparty/x9

1 file changed

+3
-1
lines changed

Framework/Foundation/3rdparty/x9/x9.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
You can contact the author at: [email protected]
3131
*/
3232

33-
#pragma once
33+
#ifndef O2_FRAMEWORK_FOUDATION_X9_H_
34+
#define O2_FRAMEWORK_FOUDATION_X9_H_
3435

3536
#ifdef __cplusplus
3637
extern "C" {
@@ -172,3 +173,4 @@ __attribute__((nonnull)) void x9_broadcast_msg_to_all_node_inboxes(
172173
#ifdef __cplusplus
173174
}
174175
#endif
176+
#endif // O2_FRAMEWORK_FOUDATION_X9_H_

0 commit comments

Comments
 (0)