Explorar o código

Merge pull request #265 from jonnenauha/vc9-fix

Fix stdint.h include that broke the build for VC9 and below.
Kim Kulling %!s(int64=11) %!d(string=hai) anos
pai
achega
8255d67a95
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      include/assimp/metadata.h

+ 5 - 0
include/assimp/metadata.h

@@ -46,7 +46,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define __AI_METADATA_H_INC__
 
 #include <assert.h>
+
+#if defined(_MSC_VER) && (_MSC_VER <= 1500)
+#include "pstdint.h"
+#else
 #include <stdint.h>
+#endif