mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-04-20 18:44:30 -04:00
* Use strcasecmp, strncasecmp, strlwr, strupr and itoa from SDL * Use SDL_GetTicks instead of timeGetTime * Use MxDSFile::OPEN_READ instead of OF_READ * Use SDL_IOStream to read bitmaps * Use SDL_LogXXX instead of OutputDebugString * Undo mxvideoparam.h change * Revert "Undo mxvideoparam.h change" This reverts commit4a20cf6c46
. * Fix _MxTrace * Reapply "Undo mxvideoparam.h change" This reverts commitb3a09dc520
. * fix _MxTrace * Use __declspec(dllexport) for exporting symbols from dll Refactored CMake script such that all objects are passed to the lego1 library. * clang-format * fix msvc build * MSVC fixed for real now? * Forgot about d3drm_guid * Fix naming issue * Use Uint64 in LegoCarBuild::Tickle for dTime
20 lines
355 B
C
20 lines
355 B
C
#ifndef LEGO1_EXPORT_H
|
|
#define LEGO1_EXPORT_H
|
|
|
|
#ifdef LEGO1_STATIC
|
|
#define LEGO1_EXPORT
|
|
#elif defined(LEGO1_DLL)
|
|
#ifdef _WIN32
|
|
#define LEGO1_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define LEGO1_EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
#else
|
|
#ifdef _WIN32
|
|
#define LEGO1_EXPORT __declspec(dllimport)
|
|
#else
|
|
#define LEGO1_EXPORT
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|