[brlcad-commits] SF.net SVN: brlcad: [30365] brlcad/trunk/include/bu.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <bo...@us...> - 2008-02-19 18:27:13
|
Revision: 30365 http://brlcad.svn.sourceforge.net/brlcad/?rev=30365&view=rev Author: bob1961 Date: 2008-02-19 10:27:09 -0800 (Tue, 19 Feb 2008) Log Message: ----------- Mods to accomodate a few apps on Windows that still have problems with inline. Modified Paths: -------------- brlcad/trunk/include/bu.h Modified: brlcad/trunk/include/bu.h =================================================================== --- brlcad/trunk/include/bu.h 2008-02-19 18:22:58 UTC (rev 30364) +++ brlcad/trunk/include/bu.h 2008-02-19 18:27:09 UTC (rev 30365) @@ -44,6 +44,12 @@ #include "common.h" +#if defined(_WIN32) && !defined(__CYGWIN__) +# if !defined(__cplusplus) && !defined(inline) +# define inline __inline +# endif +#endif + __BEGIN_DECLS /* system interface headers */ @@ -939,11 +945,7 @@ * length sizeof(bitv_t)*8.0 bits long. users should not call this * directly, instead calling the BU_BITV_SHIFT macro instead. */ -#if defined(_WIN32) && !defined(__CYGWIN__) -BU_EXPORT BU_EXTERN(int bu_bitv_shift, ()); -#else BU_EXPORT BU_EXTERN(inline int bu_bitv_shift, ()); -#endif /** Bit vector index size */ #define BU_BITV_SHIFT bu_bitv_shift() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |