summaryrefslogtreecommitdiffstats
path: root/ext/sdbm
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-29 02:46:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-29 02:46:12 +0000
commit2ba87ecdd70508a72412e340f4e4cc8094720b44 (patch)
treed12782ef5a6ab2a067c3cb0ea6c9a9d85f8f0c08 /ext/sdbm
parent31b9d2870e10dd0de788f9cfbf2d759cf3cbb8bf (diff)
downloadruby-2ba87ecdd70508a72412e340f4e4cc8094720b44.tar.gz
ruby-2ba87ecdd70508a72412e340f4e4cc8094720b44.tar.xz
ruby-2ba87ecdd70508a72412e340f4e4cc8094720b44.zip
thread_critical bug reported by Dave - matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm')
-rw-r--r--ext/sdbm/_sdbm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/sdbm/_sdbm.c b/ext/sdbm/_sdbm.c
index 7a3147293..92c96f26d 100644
--- a/ext/sdbm/_sdbm.c
+++ b/ext/sdbm/_sdbm.c
@@ -103,11 +103,9 @@ static int duppair proto((char *, datum));
/*
* externals
*/
-#ifndef sun
-#ifndef MSDOS
+#if !defined(sun) && !defined(MSDOS) && !defined(_WIN32)
extern int errno;
#endif
-#endif
/*
* forward