You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by bo...@apache.org on 2010/04/11 14:16:58 UTC
svn commit: r932876 - /xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp
Author: borisk
Date: Sun Apr 11 12:16:58 2010
New Revision: 932876
URL: http://svn.apache.org/viewvc?rev=932876&view=rev
Log:
Don't include cpuid.h if we are using intrin.h (XERCESC-1912).
Modified:
xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp
Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp?rev=932876&r1=932875&r2=932876&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/PlatformUtils.cpp Sun Apr 11 12:16:58 2010
@@ -37,7 +37,7 @@
#if HAVE_SYS_TIMEB_H
# include <sys/timeb.h>
#endif
-#if HAVE_CPUID_H
+#if HAVE_CPUID_H && !XERCES_HAVE_INTRIN_H
# include <cpuid.h>
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org