Jelajahi Sumber

Merge pull request #13136 from BastiaanOlij/gdnative_export_library

Revert this change, we need to export symbols on the library side
Thomas Herzog 7 tahun lalu
induk
melakukan
ec4d467b4c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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