mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 11:18:15 +00:00
Review functions modifiers
This commit is contained in:
14
src/rlgl.h
14
src/rlgl.h
@@ -65,12 +65,14 @@
|
|||||||
#define RAYMATH_STANDALONE
|
#define RAYMATH_STANDALONE
|
||||||
#define RAYMATH_HEADER_ONLY
|
#define RAYMATH_HEADER_ONLY
|
||||||
|
|
||||||
#if defined(_WIN32) && defined(BUILD_LIBTYPE_SHARED)
|
#define RLAPI // We are building or using rlgl as a static library (or Linux shared library)
|
||||||
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
|
|
||||||
#elif defined(_WIN32) && defined(USE_LIBTYPE_SHARED)
|
#if defined(_WIN32)
|
||||||
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
|
#if defined(BUILD_LIBTYPE_SHARED)
|
||||||
#else
|
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
|
||||||
#define RLAPI // We are building or using raylib as a static library (or Linux shared library)
|
#elif defined(USE_LIBTYPE_SHARED)
|
||||||
|
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Allow custom memory allocators
|
// Allow custom memory allocators
|
||||||
|
Reference in New Issue
Block a user