Skip to content

Commit c8136ed

Browse files
Merge pull request #1412 from lplewa/once
replace pragma once with c style header guard
2 parents 19a4d80 + c4ed728 commit c8136ed

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)