summaryrefslogtreecommitdiff
path: root/dln_find.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-12 08:40:24 (GMT)
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-12 08:40:24 (GMT)
commit7776ca930b0b72a95d453481d942c4069d088dc6 (patch)
treefbd115f2496af3976e0e2bae64ccead351b81544 /dln_find.c
parentfa5db01644420b903549f69e99767995a62cbc65 (diff)
* configure.in: add getenv() declaration check.
* dln_find.c: add HAVE_DECL_GETENV test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln_find.c')
-rw-r--r--dln_find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln_find.c b/dln_find.c
index d9166fa..0b6248b 100644
--- a/dln_find.c
+++ b/dln_find.c
@@ -67,7 +67,7 @@ char *dln_argv0;
# include <unistd.h>
#endif
-#ifndef _WIN32
+#if !defined(_WIN32) && !HAVE_DECL_GETENV
char *getenv();
#endif