diff options
| author | Ray <[email protected]> | 2021-10-08 17:22:58 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-08 17:22:58 +0200 |
| commit | 94650f0def6a813611597dc55beae16ea71bcfd3 (patch) | |
| tree | 6d024f4314c38c6588fba5abbe6ed9eb89554623 /src | |
| parent | 33ed452439a6b28a39f190714e18ee5dcb2e7673 (diff) | |
| download | raylib-94650f0def6a813611597dc55beae16ea71bcfd3.tar.gz raylib-94650f0def6a813611597dc55beae16ea71bcfd3.zip | |
Simplified RLAPI preprocessor branching
Diffstat (limited to 'src')
| -rw-r--r-- | src/raylib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/raylib.h b/src/raylib.h index 82c53ba1..fb52d8bc 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -90,10 +90,9 @@ #define RLAPI __declspec(dllexport) // We are building the library as a Win32 shared library (.dll) #elif defined(USE_LIBTYPE_SHARED) #define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll) - #else - #define RLAPI // Functions defined as 'extern' by default (implicit specifiers) - #endif -#else +#endif + +#ifndef RLAPI #define RLAPI // Functions defined as 'extern' by default (implicit specifiers) #endif |
