Review functions modifiers

This commit is contained in:
raysan5 2020-01-19 11:23:27 +01:00
parent 406373caa9
commit fe0d04c879

View file

@ -64,13 +64,15 @@
#if defined(RLGL_STANDALONE) #if defined(RLGL_STANDALONE)
#define RAYMATH_STANDALONE #define RAYMATH_STANDALONE
#define RAYMATH_HEADER_ONLY #define RAYMATH_HEADER_ONLY
#define RLAPI // We are building or using rlgl as a static library (or Linux shared library)
#if defined(_WIN32) && defined(BUILD_LIBTYPE_SHARED) #if defined(_WIN32)
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll) #if defined(BUILD_LIBTYPE_SHARED)
#elif defined(_WIN32) && defined(USE_LIBTYPE_SHARED) #define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll) #elif defined(USE_LIBTYPE_SHARED)
#else #define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
#define RLAPI // We are building or using raylib as a static library (or Linux shared library) #endif
#endif #endif
// Allow custom memory allocators // Allow custom memory allocators