summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-07 05:08:05 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-07 05:08:05 +0000
commit6a3e42442f11137b8fac10d50a33c2f97e704740 (patch)
tree48fc6bf2aed7c8b5027a88fedd9b3e5237a4a7b7 /win32
parent7974e145b32f00f52cecbd7962d49e5abeece385 (diff)
downloadruby-6a3e42442f11137b8fac10d50a33c2f97e704740.tar.gz
ruby-6a3e42442f11137b8fac10d50a33c2f97e704740.tar.xz
ruby-6a3e42442f11137b8fac10d50a33c2f97e704740.zip
* win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.
from [ruby-dev:28970]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index d1af7fde4..676f0e66a 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -256,6 +256,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
#define DEPRECATED(x) __declspec(deprecated) x
#define NOINLINE(x) __declspec(noinline) x
!endif
+#define FUNC_STDCALL(x) __stdcall x
+#define FUNC_CDECL(x) __cdecl x
#define RUBY_EXTERN extern __declspec(dllimport)
#define HAVE_DECL_SYS_NERR 1
#define HAVE_LIMITS_H 1