mirror of
https://github.com/godotengine/godot.git
synced 2024-12-28 13:53:15 +00:00
Merge pull request #9246 from karroffel/gdnative-header-export-thingy
[GDNative] added GDN_EXPORT macro for libraries
This commit is contained in:
commit
f41cc5b590
@ -60,6 +60,13 @@ extern "C" {
|
||||
#define GDAPI GDCALLINGCONV
|
||||
#endif
|
||||
|
||||
// This is for libraries *using* the header, NOT GODOT EXPOSING STUFF!!
|
||||
#ifdef _WIN32
|
||||
#define GDN_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define GDN_EXPORT
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user