isle-portable/LEGO1/lego1_export.h
Anonymous Maarten bb4db6caac
Use SDL3 functions in more locations ()
* 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 4a20cf6c46.

* Fix _MxTrace

* Reapply "Undo mxvideoparam.h change"

This reverts commit b3a09dc520.

* 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
2024-12-24 18:04:46 -07:00

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