[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21957] trunk/blender/source/blender/ blenkernel/BKE_cloth.h: [#19036] blender should use 'static inline' in BKE_cloth.h to work with C99
Campbell Barton
ideasman42 at gmail.com
Tue Jul 28 03:48:22 CEST 2009
Revision: 21957
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21957
Author: campbellbarton
Date: 2009-07-28 03:48:10 +0200 (Tue, 28 Jul 2009)
Log Message:
-----------
[#19036] blender should use 'static inline' in BKE_cloth.h to work with C99
T?\195?\182r?\195?\182k Edwin (edwintorok)
this was the only thing stopping blender being compiled with clang
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/BKE_cloth.h
Modified: trunk/blender/source/blender/blenkernel/BKE_cloth.h
===================================================================
--- trunk/blender/source/blender/blenkernel/BKE_cloth.h 2009-07-28 01:06:56 UTC (rev 21956)
+++ trunk/blender/source/blender/blenkernel/BKE_cloth.h 2009-07-28 01:48:10 UTC (rev 21957)
@@ -64,8 +64,7 @@
#elif defined (__sun) || defined (__sun__)
# define DO_INLINE
#else
-# define DO_INLINE inline
-# define LINUX
+# define DO_INLINE static inline
#endif
#define CLOTH_MAX_THREAD 2
More information about the Bf-blender-cvs
mailing list