collada2gltf: add missing patches directory

This commit is contained in:
Jürgen Buchmüller 2016-03-01 17:36:19 +01:00
parent 7454bd0f02
commit cbf6be09d5
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp
+++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/src/CommonFWriteBufferFlusher.cpp
@@ -146,6 +146,7 @@
return success;
}
}
+ return false;
}
} // namespace Common

View File

@ -0,0 +1,20 @@
--- COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h
+++ COLLADA2GLTF/dependencies/OpenCOLLADA/common/libBuffer/include/CommonFWriteBufferFlusher.h
@@ -35,15 +35,14 @@
#ifdef __GNUC__
# include <cstdlib> /* size_t */
# include <cstdio> /* FILE */
-#ifdef __FreeBSD__
-#include <stdint.h> /* int64_t */
-#endif
#endif
+#include <stdint.h>
+
#if __cplusplus > 199711L
typedef int64_t __int64;
#else
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__MINGW32__)) || (__STDC_VERSION__ >= 199901L)
typedef int64_t __int64;
#endif
#endif