[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26210] trunk/blender/source/blender/ blenlib/BLI_ghash.h: compile fix

Joseph Eagar joeedh at gmail.com
Sat Jan 23 14:57:55 CET 2010


Revision: 26210
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26210
Author:   joeedh
Date:     2010-01-23 14:57:54 +0100 (Sat, 23 Jan 2010)

Log Message:
-----------
compile fix

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_ghash.h

Modified: trunk/blender/source/blender/blenlib/BLI_ghash.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_ghash.h	2010-01-23 12:45:54 UTC (rev 26209)
+++ trunk/blender/source/blender/blenlib/BLI_ghash.h	2010-01-23 13:57:54 UTC (rev 26210)
@@ -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 @@
 	return 0;
 }
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif





More information about the Bf-blender-cvs mailing list