projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8ee7a
)
centos build workarounds
author
Good Guy
<
[email protected]
>
Mon, 17 Aug 2015 22:02:35 +0000
(16:02 -0600)
committer
Good Guy
<
[email protected]
>
Mon, 17 Aug 2015 22:02:35 +0000
(16:02 -0600)
cinelerra-5.0/cinelerra/bdwrite.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.0/cinelerra/bdwrite.C
b/cinelerra-5.0/cinelerra/bdwrite.C
index ad3311692ca7767ed80eb4ba6350b6660cfa60d7..2eb20f71b67f878f2393cb9d691be75e52d567e8 100644
(file)
--- a/
cinelerra-5.0/cinelerra/bdwrite.C
+++ b/
cinelerra-5.0/cinelerra/bdwrite.C
@@
-41,6
+41,13
@@
#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"