diff options
author | Joseph Eagar <joeedh@gmail.com> | 2010-01-23 16:57:54 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2010-01-23 16:57:54 +0300 |
commit | 10b1b6130628b6c7a854f8ae8d872ba4a7bc5e4b (patch) | |
tree | 222cab4663bef3271778cc9996d83903e0f85d29 /source/blender/blenlib/BLI_ghash.h | |
parent | c71ace02c24987c7929e9510c2212692b7ac7649 (diff) |
compile fix
Diffstat (limited to 'source/blender/blenlib/BLI_ghash.h')
-rw-r--r-- | source/blender/blenlib/BLI_ghash.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 5c1c06b78ac..0e467b02110 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -32,6 +32,10 @@ #ifndef BLI_GHASH_H #define BLI_GHASH_H +#ifdef __cplusplus +extern "C" { +#endif + #include "stdio.h" #include "stdlib.h" #include "string.h" @@ -264,4 +268,8 @@ BM_INLINE int BLI_ghash_haskey(GHash *gh, void *key) { return 0; } +#ifdef __cplusplus +} +#endif + #endif |