summaryrefslogtreecommitdiff
path: root/cord
diff options
context:
space:
mode:
Diffstat (limited to 'cord')
-rw-r--r--cord/cordprnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cord/cordprnt.c b/cord/cordprnt.c
index 2dd5691d..d9d9f536 100644
--- a/cord/cordprnt.c
+++ b/cord/cordprnt.c
@@ -174,11 +174,11 @@ static int extract_conv_spec(CORD_pos source, char *buf,
return(result);
}
-#if defined(DJGPP) || defined(__STRICT_ANSI__)
+#if defined(__DJGPP__) || defined(__STRICT_ANSI__)
/* vsnprintf is missing in DJGPP (v2.0.3) */
# define GC_VSNPRINTF(buf, bufsz, format, args) vsprintf(buf, format, args)
#elif defined(_MSC_VER)
-# ifdef MSWINCE
+# if defined(_WIN32_WCE)
/* _vsnprintf is deprecated in WinCE */
# define GC_VSNPRINTF StringCchVPrintfA
# else