aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d
diff options
context:
space:
mode:
Diffstat (limited to 'missing_d')
-rw-r--r--missing_d/ChangeLog4
-rw-r--r--missing_d/snprintf.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
index c6913bc2..ff29a926 100644
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-04 Arnold D. Robbins <arnold@skeeve.com>
+
+ * snprintf.c [DJGPP]: Change to __DJGPP__.
+
2012-03-28 Arnold D. Robbins <arnold@skeeve.com>
* 4.0.1: Release tar ball made.
diff --git a/missing_d/snprintf.c b/missing_d/snprintf.c
index 254a8e0b..12e50925 100644
--- a/missing_d/snprintf.c
+++ b/missing_d/snprintf.c
@@ -86,10 +86,10 @@ safe_tmpfile (void)
if ((fd = mkstemp (tmpfilename)) < 0)
return NULL;
-#if ! defined(DJGPP) && ! defined(MSDOS) && ! defined(_MSC_VER) \
+#if ! defined(__DJGPP__) && ! defined(MSDOS) && ! defined(_MSC_VER) \
&& ! defined(_WIN32) && ! defined(__CRTRSXNT__) && ! defined(__EMX__) \
&& ! defined(__MINGW32__) && ! defined(__WIN32__)
- /* If not MS, unlink after opening. */
+ /* If not MS or OS/2, unlink after opening. */
unlink (tmpfilename);
free(tmpfilename);
tmpfilename = NULL;