From 820b88c3389b59dce190e6846703c267d7113a63 Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Wed, 30 Sep 2009 05:47:49 +0000 Subject: Make changes such that glusterfs builds with Werror and fix LONG_LONG_MAX definition. Signed-off-by: Anand V. Avati BUG: 289 (glusterfs does not build with Werror) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=289 --- libglusterfs/src/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/compat.h') diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 228daf5d..07ff3066 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -29,7 +29,7 @@ #include "dict.h" #ifndef LLONG_MAX -#define LLONG_MAX LONG_LONG_MAX /* compat with old gcc */ +#define LLONG_MAX __LONG_LONG_MAX__ /* compat with old gcc */ #endif /* LLONG_MAX */ -- cgit