From 2bdbcd78e79527d0ab9fb2adfa0bc39be0182cbe Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Thu, 16 May 2013 13:07:15 +0200 Subject: [PATCH] Amend dd1a18149cac29a69a0242a5efc467498f5f05cd: Visibility attribute is needed for MSVC/C++ --- include/assimp/material.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/assimp/material.h b/include/assimp/material.h index d42eb5355..0634ec7c7 100644 --- a/include/assimp/material.h +++ b/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