[Common-cvs] container hxstrfmt.cpp,1.9.6.8,1.9.6.9
bobclark at helixcommunity.org bobclark at helixcommunity.orgUpdate of /cvsroot/common/container
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv17665
Modified Files:
Tag: hxclient_1_5_0_cayenne
hxstrfmt.cpp
Log Message:
include linuxppc64 in ifdefed code for amd64
Index: hxstrfmt.cpp
===================================================================
RCS file: /cvsroot/common/container/hxstrfmt.cpp,v
retrieving revision 1.9.6.8
retrieving revision 1.9.6.9
diff -u -d -r1.9.6.8 -r1.9.6.9
--- hxstrfmt.cpp 9 May 2007 21:30:30 -0000 1.9.6.8
+++ hxstrfmt.cpp 10 May 2007 17:32:40 -0000 1.9.6.9
@@ -299,7 +299,7 @@
CONVERT_FUNC_DEF(ConvertUInt64, UINT64)
CONVERT_FUNC_DEF(ConvertInt64, INT64)
-#ifdef __amd64__
+#if defined(__amd64__) || defined(__linuxppc64__)
static bool ParseFormat(const char*& pCur, int& charCount, va_list args)
#else
static bool ParseFormat(const char*& pCur, int& charCount, va_list& args)
@@ -555,7 +555,7 @@
return ret;
}
-#ifdef __amd64__
+#if defined(__amd64__) || defined(__linuxppc64__)
static int GuessSize(const char* pFormat, va_list args)
#else
static int GuessSize(const char* pFormat, va_list& args)