From 10b1b6130628b6c7a854f8ae8d872ba4a7bc5e4b Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Sat, 23 Jan 2010 13:57:54 +0000 Subject: compile fix --- source/blender/blenlib/BLI_ghash.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenlib/BLI_ghash.h') 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 -- cgit v1.2.3