Changeset 729 for code/branches/FICN/src/orxonox/OrxonoxPlatform.h
- Timestamp:
- Dec 30, 2007, 9:48:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/OrxonoxPlatform.h
r708 r729 116 116 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 117 117 118 // If we're not including this from a client build, specify that the stuff119 // should get exported. Otherwise, import it.120 # if defined( ORXONOX_STATIC_LIB )121 // don't use exports/imports when building statically122 # define _OrxonoxExport123 # define _OrxonoxPrivate124 # else125 # if defined( ORXONOX_NONCLIENT_BUILD )126 # define _OrxonoxExport __declspec( dllexport )127 # else128 # if defined( __MINGW32__ )129 # define _OrxonoxExport130 # else131 # define _OrxonoxExport __declspec( dllimport )132 # endif133 # endif134 # define _OrxonoxPrivate135 # endif136 118 // Win32 compilers use _DEBUG for specifying debug builds. 137 119 # ifdef _DEBUG … … 162 144 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX || ORXONOX_PLATFORM == ORXONOX_PLATFORM_APPLE 163 145 164 // Enable GCC symbol visibility165 # if defined( ORXONOX_GCC_VISIBILITY )166 # define _OrxonoxExport __attribute__ ((visibility("default")))167 # define _OrxonoxPrivate __attribute__ ((visibility("hidden")))168 # else169 # define _OrxonoxExport170 # define _OrxonoxPrivate171 # endif172 146 173 147 // A quick define to overcome different names for the same function
Note: See TracChangeset
for help on using the changeset viewer.