فهرست منبع

Merge pull request #13136 from BastiaanOlij/gdnative_export_library

Revert this change, we need to export symbols on the library side
Thomas Herzog 7 سال پیش
والد
کامیت
ec4d467b4c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules/gdnative/include/gdnative/gdnative.h

+ 1 - 1
modules/gdnative/include/gdnative/gdnative.h

@@ -53,7 +53,7 @@ extern "C" {
 
 
 // This is for libraries *using* the header, NOT GODOT EXPOSING STUFF!!
 // This is for libraries *using* the header, NOT GODOT EXPOSING STUFF!!
 #ifdef _WIN32
 #ifdef _WIN32
-#define GDN_EXPORT
+#define GDN_EXPORT __declspec(dllexport)
 #else
 #else
 #define GDN_EXPORT
 #define GDN_EXPORT
 #endif
 #endif