Review functions modifiers
This commit is contained in:
parent
406373caa9
commit
fe0d04c879
1 changed files with 8 additions and 6 deletions
10
src/rlgl.h
10
src/rlgl.h
|
@ -65,12 +65,14 @@
|
|||
#define RAYMATH_STANDALONE
|
||||
#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)
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined(BUILD_LIBTYPE_SHARED)
|
||||
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
|
||||
#elif defined(_WIN32) && defined(USE_LIBTYPE_SHARED)
|
||||
#elif defined(USE_LIBTYPE_SHARED)
|
||||
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
|
||||
#else
|
||||
#define RLAPI // We are building or using raylib as a static library (or Linux shared library)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Allow custom memory allocators
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue