summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/sdbm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-08 20:58:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-08 20:58:02 +0000
commit1761cee512762c09b2a848d3c6cbd5a3b4232ffa (patch)
tree6e211068ee1368390669709334240812fd0a67de /ext/SDBM_File/sdbm
parent3dc6ede7f49a7b2b348c8780a45fe232aa5beb97 (diff)
downloadperl-1761cee512762c09b2a848d3c6cbd5a3b4232ffa.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@5043
Diffstat (limited to 'ext/SDBM_File/sdbm')
-rw-r--r--ext/SDBM_File/sdbm/pair.c2
-rw-r--r--ext/SDBM_File/sdbm/sdbm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/SDBM_File/sdbm/pair.c b/ext/SDBM_File/sdbm/pair.c
index c2ed213036..4f0fde2302 100644
--- a/ext/SDBM_File/sdbm/pair.c
+++ b/ext/SDBM_File/sdbm/pair.c
@@ -8,7 +8,7 @@
*/
#include "config.h"
-#ifdef CYGWIN
+#ifdef __CYGWIN__
# define EXTCONST extern const
#else
# include "EXTERN.h"
diff --git a/ext/SDBM_File/sdbm/sdbm.c b/ext/SDBM_File/sdbm/sdbm.c
index 5952d719e7..f58f4487c8 100644
--- a/ext/SDBM_File/sdbm/sdbm.c
+++ b/ext/SDBM_File/sdbm/sdbm.c
@@ -128,7 +128,7 @@ sdbm_prep(char *dirname, char *pagname, int flags, int mode)
* open the files in sequence, and stat the dirfile.
* If we fail anywhere, undo everything, return NULL.
*/
-#if defined(OS2) || defined(MSDOS) || defined(WIN32) || defined(CYGWIN)
+#if defined(OS2) || defined(MSDOS) || defined(WIN32) || defined(__CYGWIN__)
flags |= O_BINARY;
# endif
if ((db->pagf = open(pagname, flags, mode)) > -1) {