소스 검색

Fix stdint.h include that broke the build for VC9 and below.

Jonne Nauha 11 년 전
부모
커밋
c329e81c94
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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