From c329e81c94fd9082f1689c6dabbdb9fb9b7035be Mon Sep 17 00:00:00 2001 From: Jonne Nauha Date: Wed, 30 Apr 2014 05:58:19 +0300 Subject: [PATCH] Fix stdint.h include that broke the build for VC9 and below. --- include/assimp/metadata.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/assimp/metadata.h b/include/assimp/metadata.h index a16b4062b..0caf4076b 100644 --- a/include/assimp/metadata.h +++ b/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 + +#if defined(_MSC_VER) && (_MSC_VER <= 1500) +#include "pstdint.h" +#else #include +#endif