Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1849


Ignore:
Timestamp:
Sep 28, 2008, 5:08:28 PM (16 years ago)
Author:
rgrieder
Message:

MINGW32 fix again for other CEGUILua version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/ceguilua-0.5.0b/ceguilua/CEGUILua.h

    r1810 r1849  
    3232
    3333
     34/*** CHANGES BY ORXONOX TEAM FOR MINGW32 ***/
    3435/*************************************************************************
    3536        Import / Export control macros
    3637*************************************************************************/
    37 #if defined( __WIN32__ ) || defined( _WIN32 )
     38#if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
    3839#   ifdef CEGUILUA_EXPORTS
    3940#       define CEGUILUA_API __declspec(dllexport)
    4041#   else
    41 #       define CEGUILUA_API __declspec(dllimport)
     42#      if defined( __MINGW32__ )
     43#          define CEGUILUA_API
     44#      else
     45#          define CEGUILUA_API __declspec(dllimport)
     46#      endif
    4247#   endif
    4348#else
Note: See TracChangeset for help on using the changeset viewer.