--- a/src/xercesc/util/PlatformUtils.cpp
+++ b/src/xercesc/util/PlatformUtils.cpp
@@ -224,7 +224,7 @@
     fgXMLChBigEndian = (endianTest.ar[sizeof(XMLCh)-1] == 1);
 
     // Determine if we can use SSE2 functions
-#if defined(XERCES_HAVE_CPUID_INTRINSIC)
+#if defined(HAVE_CPUID_H)
     int CPUInfo[4]={0};
     __cpuid(CPUInfo, 1);
     if(CPUInfo[3] & (1UL << 26))
