path: root/ext/sdbm
diff options
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 02:08:56 (GMT)
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 02:08:56 (GMT)
commite91baf5634c419247a176f60e399a9446ff2ccf7 (patch)
treef36510ed205bbaf5f05639a4928aa9ea370ee44b /ext/sdbm
parenta923a6f04c779e85787cfee6207ed8b0ae0e4070 (diff)
* dln.c: simplify #ifdef. _WIN32 and __CYGWIN__ are exclusive.
see include/ruby/defines.h * gc.c: ditto. * ext/sdbm/_sdbm.c: ditto. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm')
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdbm/_sdbm.c b/ext/sdbm/_sdbm.c
index b9ee6c3..9ff0e79 100644
--- a/ext/sdbm/_sdbm.c
+++ b/ext/sdbm/_sdbm.c
@@ -372,7 +372,7 @@ makroom(register DBM *db, long int hash, int need)
long newp;
char twin[PBLKSIZ];
-#if defined _WIN32 && !defined __CYGWIN__
+#if defined _WIN32
char zer[PBLKSIZ];
long oldtail;
@@ -399,7 +399,7 @@ makroom(register DBM *db, long int hash, int need)
* here, as sdbm_store will do so, after it inserts the incoming pair.
-#if defined _WIN32 && !defined __CYGWIN__
+#if defined _WIN32
* Fill hole with 0 if made it.
* (hole is NOT read as 0)