diff --git a/src/xercesc/util/Transcoders/Iconv400/Iconv400TransService.cpp b/src/xercesc/util/Transcoders/Iconv400/Iconv400TransService.cpp
index 22a26a1d307d41547be42e71b20510ea78bfcfd9..429f0252e0c3876f5e9b19572204f6394dece25b 100644
--- a/src/xercesc/util/Transcoders/Iconv400/Iconv400TransService.cpp
+++ b/src/xercesc/util/Transcoders/Iconv400/Iconv400TransService.cpp
@@ -401,7 +401,7 @@ Iconv400Transcoder::transcodeXML(const   XMLByte* const          srcData
                             ,       unsigned char* const    charSizes)
 {
     // If debugging, insure the block size is legal
-    #if defined(Xerces_DEBUG)
+    #if defined(XERCES_DEBUG)
     checkBlockSize(maxChars);
     #endif