Browse Source

Use correct include file for INT_MAX

INT_MAX is defined in limits.h, not stdint.h
Joe Hermaszewski 10 năm trước cách đây
mục cha
commit
7494cb6e4b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/assimp/metadata.h

+ 1 - 1
include/assimp/metadata.h

@@ -50,7 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #if defined(_MSC_VER) && (_MSC_VER <= 1500)
 #include "Compiler/pstdint.h"
 #else
-#include <stdint.h>
+#include <limits.h>
 #endif