mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 03:22:35 -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 commit 4a20cf6c461aff00911c1e7ea002eefd05374bae. * Fix _MxTrace * Reapply "Undo mxvideoparam.h change" This reverts commit b3a09dc520294dba7cfbe9e94cfea8d8270d9f27. * 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
21 lines
355 B
C
21 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
|