소스 검색

Amend dd1a18149cac29a69a0242a5efc467498f5f05cd: Visibility attribute is needed for MSVC/C++

Dennis Schridde 12 년 전
부모
커밋
2bdbcd78e7
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      include/assimp/material.h

+ 4 - 0
include/assimp/material.h

@@ -657,7 +657,11 @@ struct aiMaterialProperty
 *  have to stick with the aiMaterialGetXXX family of unbound functions.
 *  The library defines a set of standard keys (AI_MATKEY_XXX).
 */
+#ifdef __cplusplus
+struct ASSIMP_API aiMaterial
+#else
 struct aiMaterial
+#endif
 {
 
 #ifdef __cplusplus