Skip to content

Commit c4ed728

Browse files
committed
replace pragma once with c style header guard
1 parent 5dd549d commit c4ed728

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/umf/pools/pool_disjoint.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
*
88
*/
99

10-
#pragma once
10+
#ifndef UMF_DISJOINT_MEMORY_POOL_H
11+
#define UMF_DISJOINT_MEMORY_POOL_H 1
12+
1113
#ifdef __cplusplus
1214
extern "C" {
1315
#endif
@@ -118,3 +120,5 @@ const umf_memory_pool_ops_t *umfDisjointPoolOps(void);
118120
#ifdef __cplusplus
119121
}
120122
#endif
123+
124+
#endif /* UMF_DISJOINT_MEMORY_POOL_H */

0 commit comments

Comments
 (0)