summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2009-09-30 05:47:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-01 03:32:23 -0700
commit820b88c3389b59dce190e6846703c267d7113a63 (patch)
treefcc7ae95c2bf99027a3cd57a517a86fe523ec4df /libglusterfs
parent572fb95127a37c3bf45a60083ad247064d634085 (diff)
Make changes such that glusterfs builds with Werror and fix LONG_LONG_MAX definition.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 289 (glusterfs does not build with Werror) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=289
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h
index 228daf5da9d..07ff3066433 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 */