Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 30, 2007, 9:48:52 PM (18 years ago)
Author:
rgrieder
Message:
  • fixed multiple template instantiation problem under windows
  • removed some warnings by introducing explicit casts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/OrxonoxPlatform.h

    r708 r729  
    116116#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
    117117
    118 // If we're not including this from a client build, specify that the stuff
    119 // should get exported. Otherwise, import it.
    120 #        if defined( ORXONOX_STATIC_LIB )
    121      // don't use exports/imports when building statically
    122 #    define _OrxonoxExport
    123 #    define _OrxonoxPrivate
    124 #  else
    125 #    if defined( ORXONOX_NONCLIENT_BUILD )
    126 #      define _OrxonoxExport __declspec( dllexport )
    127 #    else
    128 #      if defined( __MINGW32__ )
    129 #        define _OrxonoxExport
    130 #      else
    131 #               define _OrxonoxExport __declspec( dllimport )
    132 #      endif
    133 #    endif
    134 #    define _OrxonoxPrivate
    135 #  endif
    136118// Win32 compilers use _DEBUG for specifying debug builds.
    137119#  ifdef _DEBUG
     
    162144#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX || ORXONOX_PLATFORM == ORXONOX_PLATFORM_APPLE
    163145
    164 // Enable GCC symbol visibility
    165 #  if defined( ORXONOX_GCC_VISIBILITY )
    166 #    define _OrxonoxExport  __attribute__ ((visibility("default")))
    167 #    define _OrxonoxPrivate __attribute__ ((visibility("hidden")))
    168 #  else
    169 #    define _OrxonoxExport
    170 #    define _OrxonoxPrivate
    171 #  endif
    172146
    173147// A quick define to overcome different names for the same function
Note: See TracChangeset for help on using the changeset viewer.