force dllexport for physlayer interface
authoralfadur
Sat, 08 Apr 2023 01:23:47 +0300
changeset 15946 69479ac8f4c8
parent 15945 343b8819b051
child 15947 3199bbfeba31
force dllexport for physlayer interface
misc/libphyslayer/physfscompat.h
--- a/misc/libphyslayer/physfscompat.h	Tue Mar 28 19:30:57 2023 +0300
+++ b/misc/libphyslayer/physfscompat.h	Sat Apr 08 01:23:47 2023 +0300
@@ -21,6 +21,10 @@
 
 #include "physfs.h"
 
+#if defined(_WIN32) 
+#define PHYSFS_DECL __declspec(dllexport)
+#endif
+
 #if PHYSFS_VER_MAJOR == 2
 #if PHYSFS_VER_MINOR == 0