소스 검색

Update irrXML.h

FIx export directive for linux.
Kim Kulling 6 년 전
부모
커밋
37357515fa
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      contrib/irrXML/irrXML.h

+ 2 - 2
contrib/irrXML/irrXML.h

@@ -8,9 +8,9 @@
 #include <stdio.h>
 #include <stdio.h>
 
 
 #ifdef _WIN32
 #ifdef _WIN32
-#    define IRRXML_API __declspec(dllexport)
+#   define IRRXML_API __declspec(dllexport)
 #else
 #else
-#    define IRRXML_API
+#   define IRRXML_API __attribute__ ((visibility("default")))
 #endif // _WIN32
 #endif // _WIN32
 
 
 /** \mainpage irrXML 1.2 API documentation
 /** \mainpage irrXML 1.2 API documentation