From: Good Guy Date: Mon, 17 Aug 2015 22:02:35 +0000 (-0600) Subject: centos build workarounds X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=73e5d54a5068f6a355158691a9c8849103f89564;p=goodguy%2Fhistory.git centos build workarounds --- diff --git a/cinelerra-5.0/cinelerra/bdwrite.C b/cinelerra-5.0/cinelerra/bdwrite.C index ad331169..2eb20f71 100644 --- a/cinelerra-5.0/cinelerra/bdwrite.C +++ b/cinelerra-5.0/cinelerra/bdwrite.C @@ -41,6 +41,13 @@ #include #include #include +// 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"