|
@@ -51,6 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
#include <stdio.h>
|
|
|
#include <string.h>
|
|
|
#include <time.h>
|
|
|
+#include <limits>
|
|
|
|
|
|
#include <aiPostProcess.h>
|
|
|
#include <aiVersion.h>
|
|
@@ -69,6 +70,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
#include <../contrib/zlib/zlib.h>
|
|
|
|
|
|
+#ifndef SIZE_MAX
|
|
|
+# define SIZE_MAX (std::numeric_limits<size_t>::max())
|
|
|
+#endif
|
|
|
+
|
|
|
+
|
|
|
using namespace Assimp;
|
|
|
|
|
|
|
|
@@ -197,4 +203,4 @@ int Assimp_TestBatchLoad (
|
|
|
unsigned int num);
|
|
|
|
|
|
|
|
|
-#endif // !! AICMD_MAIN_INCLUDED
|
|
|
+#endif // !! AICMD_MAIN_INCLUDED
|