Module Name: src
Committed By: christos
Date: Wed Apr 8 17:03:55 UTC 2009
Modified Files:
src/external/gpl2/xcvs/include: config.h
Log Message:
deal with LP64
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl2/xcvs/include/config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/xcvs/include/config.h
diff -u src/external/gpl2/xcvs/include/config.h:1.1 src/external/gpl2/xcvs/include/config.h:1.2
--- src/external/gpl2/xcvs/include/config.h:1.1 Wed Apr 8 12:27:52 2009
+++ src/external/gpl2/xcvs/include/config.h Wed Apr 8 13:03:55 2009
@@ -1045,11 +1045,13 @@
/* Define if intmax_t is the first integer type detected with its size. */
/* #undef UNIQUE_INT_TYPE_INTMAX_T */
+#ifdef __LP64__
/* Define if long int is the first integer type detected with its size. */
#define UNIQUE_INT_TYPE_LONG 1
-
+#else
/* Define if long long is the first integer type detected with its size. */
-/* #undef UNIQUE_INT_TYPE_LONG_LONG */
+#define UNIQUE_INT_TYPE_LONG_LONG 1
+#endif
/* Define if ptrdiff_t is the first integer type detected with its size. */
/* #undef UNIQUE_INT_TYPE_PTRDIFF_T */