Bläddra i källkod

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

Dennis Schridde 12 år sedan
förälder
incheckning
2bdbcd78e7
1 ändrade filer med 4 tillägg och 0 borttagningar
  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.
 *  have to stick with the aiMaterialGetXXX family of unbound functions.
 *  The library defines a set of standard keys (AI_MATKEY_XXX).
 *  The library defines a set of standard keys (AI_MATKEY_XXX).
 */
 */
+#ifdef __cplusplus
+struct ASSIMP_API aiMaterial
+#else
 struct aiMaterial
 struct aiMaterial
+#endif
 {
 {
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus