aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-05-04 14:18:12 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-05-04 14:18:12 +0300
commit762b3a4c2246ac817da7bac7ccb78889f117ca93 (patch)
tree33241b603a3f1ded5c5ed795d05fbc0a1b97fff2 /missing_d
parent123a03a71df8594a8878d464ed9826fbb827709d (diff)
downloadegawk-762b3a4c2246ac817da7bac7ccb78889f117ca93.tar.gz
egawk-762b3a4c2246ac817da7bac7ccb78889f117ca93.tar.bz2
egawk-762b3a4c2246ac817da7bac7ccb78889f117ca93.zip
DJGPP --> __DJGPP__
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;