centos build workarounds
[goodguy/history.git] / cinelerra-5.0 / cinelerra / bdwrite.C
index ad3311692ca7767ed80eb4ba6350b6660cfa60d7..2eb20f71b67f878f2393cb9d691be75e52d567e8 100644 (file)
 #include <endian.h>
 #include <limits.h>
 #include <sys/stat.h>
+// work arounds (centos)
+#ifndef INT64_MAX
+#define INT64_MAX 9223372036854775807LL
+#endif
+#ifndef INT64_MIN
+#define INT64_MIN (-INT64_MAX-1)
+#endif
 
 #include "arraylist.h"
 #include "cstrdup.h"