[前][次][番号順一覧][スレッド一覧]

ruby-changes:42497

From: nobu <ko1@a...>
Date: Thu, 14 Apr 2016 09:28:57 +0900 (JST)
Subject: [ruby-changes:42497] nobu:r54571 (trunk): configure.in: feature macros on cygwin

nobu	2016-04-14 10:25:34 +0900 (Thu, 14 Apr 2016)

  New Revision: 54571

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54571

  Log:
    configure.in: feature macros on cygwin
    
    * configure.in (cygwin): add feature macros for the declarations
      of eaccess.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 54570)
+++ configure.in	(revision 54571)
@@ -1161,6 +1161,7 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1161
 		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])
 		],

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]