Browse Source

Revert this change, we need to export symbols on the library side

Bastiaan Olij 7 năm trước cách đây
mục cha
commit
1955fecb2d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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!!
 #ifdef _WIN32
-#define GDN_EXPORT
+#define GDN_EXPORT __declspec(dllexport)
 #else
 #define GDN_EXPORT
 #endif