aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-14 01:25:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-14 01:25:34 +0000
commit1a88b871d1aae707bcc0760658c9f086f5f24eee (patch)
tree81116271ed25c0e687d74b323968b94bc372ef96
parenta86d5d166fd9f09bb07061146287eb097596d5b4 (diff)
downloadruby-1a88b871d1aae707bcc0760658c9f086f5f24eee.tar.gz
configure.in: feature macros on cygwin
* configure.in (cygwin): add feature macros for the declarations of eaccess. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 09019ed66b..10e1d0f0fc 100644
--- a/configure.in
+++ b/configure.in
@@ -1161,6 +1161,7 @@ main()
LIBS="$LIBS" # m lib is include in root
],
[cygwin*], [ ac_cv_header_langinfo_h=yes
+ RUBY_APPEND_OPTIONS(CPPFLAGS, -D_XOPEN_SOURCE -D_GNU_SOURCE)
AC_CHECK_FUNCS(cygwin_conv_path)
AC_LIBOBJ([langinfo])
],