diff options
| author | Audi Nugraha <[email protected]> | 2022-07-10 00:33:18 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-09 19:33:18 +0200 |
| commit | d1aabb39578790f064717715785c877dd88be3c8 (patch) | |
| tree | 3e255d11964df8c24c3fd895e721e42e1b8031a4 /src/raylib.h | |
| parent | 5842a6a399c60e6357c353b4c3e098b975e383d5 (diff) | |
| download | raylib-d1aabb39578790f064717715785c877dd88be3c8.tar.gz raylib-d1aabb39578790f064717715785c877dd88be3c8.zip | |
Allow DLL creation using TCC (#2569)
* Fix Undefined Symbol `_ftelli64`
* Add files via upload
* Update raylib.h
* Update raylib.h
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 04cfaaea..12aba4d9 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -86,6 +86,9 @@ // NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll #if defined(_WIN32) #if defined(BUILD_LIBTYPE_SHARED) + #if defined(__TINYC__) + #define __declspec(x) __attribute__((x)) + #endif #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) |
