Update raylib.h
This commit is contained in:
parent
d6fcc72beb
commit
6a366ca8ca
|
|
@ -86,12 +86,10 @@
|
||||||
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
|
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#if defined(BUILD_LIBTYPE_SHARED)
|
#if defined(BUILD_LIBTYPE_SHARED)
|
||||||
// We are building the library as a Win32 shared library (.dll)
|
|
||||||
#if defined(__TINYC__)
|
#if defined(__TINYC__)
|
||||||
#define RLAPI __attribute__(dllexport)
|
#define __declspec(x) __attribute__((x))
|
||||||
#else
|
|
||||||
#define RLAPI __declspec(dllexport)
|
|
||||||
#endif
|
#endif
|
||||||
|
#define RLAPI __declspec(dllexport) // We are building the library as a Win32 shared library (.dll)
|
||||||
#elif defined(USE_LIBTYPE_SHARED)
|
#elif defined(USE_LIBTYPE_SHARED)
|
||||||
#define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll)
|
#define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user