浏览代码

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!!
 #ifdef _WIN32
-#define GDN_EXPORT
+#define GDN_EXPORT __declspec(dllexport)
 #else
 #define GDN_EXPORT
 #endif