[vlc-commits] BDA: fix a warning

Rémi Denis-Courmont git at videolan.org
Sun Jun 26 16:49:54 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 26 17:38:33 2011 +0300| [5f1df38b79c9c3c03fd9481b573cc7d9ba6e4a0d] | committer: Rémi Denis-Courmont

BDA: fix a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f1df38b79c9c3c03fd9481b573cc7d9ba6e4a0d
---

 modules/access/dtv/bdagraph.hpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/access/dtv/bdagraph.hpp b/modules/access/dtv/bdagraph.hpp
index a5e3014..a4b61ab 100644
--- a/modules/access/dtv/bdagraph.hpp
+++ b/modules/access/dtv/bdagraph.hpp
@@ -37,7 +37,9 @@ using namespace std;
 #   define AM_NOVTABLE
 #   define _OBJBASE_H_
 #   undef _X86_
-#   define _I64_MAX LONG_LONG_MAX
+#   ifndef _I64_MAX
+#      define _I64_MAX 0x7FFFFFFFFFFFFFFFLL
+#   endif
 #   define LONGLONG long long
 /* Work-around a bug in w32api-2.5 */
 /* #   define QACONTAINERFLAGS QACONTAINERFLAGS_SOMETHINGELSE */



More information about the vlc-commits mailing list