Comment fixes.

This commit is contained in:
David Williams 2011-04-20 23:36:02 +01:00
parent ef52b906e6
commit f7f473126c

View File

@ -43,17 +43,17 @@ freely, subject to the following restrictions:
#endif #endif
// Now we use the generic helper definitions above to define POLYVOX_API and POLYVOX_LOCAL. // Now we use the generic helper definitions above to define POLYVOX_API and POLYVOX_LOCAL.
// POLYVOX_API is used for the public API symbols. It either DLL imports or DLL exports (or does nothing for static build) // POLYVOX_API is used for the public API symbols. It either imports or exports (or does nothing for static build)
// POLYVOX_LOCAL is used for non-api symbols. // POLYVOX_LOCAL is used for non-api symbols.
#ifdef POLYVOX_SHARED // defined if FOX is compiled as a DLL #ifdef POLYVOX_SHARED // defined if PolyVox is compiled as a shared library
#ifdef POLYVOX_SHARED_EXPORTS // defined if we are building the FOX DLL (instead of using it) #ifdef POLYVOX_SHARED_EXPORTS // defined if we are building the PolyVox shared library (instead of using it)
#define POLYVOX_API POLYVOX_HELPER_EXPORT #define POLYVOX_API POLYVOX_HELPER_EXPORT
#else #else
#define POLYVOX_API POLYVOX_HELPER_IMPORT #define POLYVOX_API POLYVOX_HELPER_IMPORT
#endif // POLYVOX_SHARED_EXPORTS #endif // POLYVOX_SHARED_EXPORTS
#define POLYVOX_LOCAL POLYVOX_HELPER_LOCAL #define POLYVOX_LOCAL POLYVOX_HELPER_LOCAL
#else // POLYVOX_SHARED is not defined: this means FOX is a static lib. #else // POLYVOX_SHARED is not defined: this means PolyVox is a static library.
#define POLYVOX_API #define POLYVOX_API
#define POLYVOX_LOCAL #define POLYVOX_LOCAL
#endif // POLYVOX_SHARED #endif // POLYVOX_SHARED