diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-03 15:27:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-03 15:27:13 +0000 |
commit | a51e80459c2703d1906a4e1646de47def3550a09 (patch) | |
tree | 665dd5207af0c2302e27f748d824a9978f1685ff /win32 | |
parent | cc3aa18111d076b256b2c100d6b4fa889eb9b89a (diff) | |
download | ruby-a51e80459c2703d1906a4e1646de47def3550a09.tar.gz |
* common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
macro definitions.
* bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
* {win32,wince}/Makefile.sub: separate config.h for compiler versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 89ec5cad37..0647b5fc3f 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -172,9 +172,6 @@ EXTSTATIC = OBJEXT = obj -EXTOBJS = -DLDOBJS = - WINMAINOBJ = winmain.$(OBJEXT) MINIOBJS = dmydln.$(OBJEXT) @@ -214,13 +211,13 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub #define HAVE_PROTOTYPES 1 #define TOKEN_PASTE(x,y) x##y #define HAVE_STDARG_PROTOTYPES 1 -#if _MSC_VER > 1100 +!if $(MSC_VER) > 1100 #define NORETURN(x) __declspec(noreturn) x -#endif -#if _MSC_VER >= 1300 +!endif +!if $(MSC_VER) >= 1300 #define DEPRECATED(x) __declspec(deprecated) x #define NOINLINE(x) __declspec(noinline) x -#endif +!endif #define HAVE_DECL_SYS_NERR 1 #define HAVE_LIMITS_H 1 #define HAVE_FCNTL_H 1 |