ruby-changes:27704
From: nobu <ko1@a...>
Date: Fri, 15 Mar 2013 01:22:03 +0900 (JST)
Subject: [ruby-changes:27704] nobu:r39756 (trunk): Makefile.sub: __FUNCTION__
nobu 2013-03-15 01:21:54 +0900 (Fri, 15 Mar 2013) New Revision: 39756 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39756 Log: Makefile.sub: __FUNCTION__ * win32/Makefile.sub (config.h): __FUNCTION__ is available at least VC9. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 39755) +++ win32/Makefile.sub (revision 39756) @@ -558,6 +558,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L558 #define FUNC_STDCALL(x) __stdcall x #define FUNC_CDECL(x) __cdecl x #define FUNC_FASTCALL(x) __fastcall x +!if $(MSC_VER) >= 1500 +#define RUBY_FUNCTION_NAME_STRING __FUNCTION__ +!endif #define RUBY_EXTERN extern __declspec(dllimport) #define HAVE_DECL_SYS_NERR 1 #define HAVE_LIMITS_H 1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/