From a51e80459c2703d1906a4e1646de47def3550a09 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 3 Aug 2005 15:27:13 +0000 Subject: * 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 --- wince/Makefile.sub | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'wince/Makefile.sub') diff --git a/wince/Makefile.sub b/wince/Makefile.sub index d2639c9152..71a7df2167 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -176,9 +176,6 @@ EXTSTATIC = OBJEXT = obj -EXTOBJS = -DLDOBJS = - WINMAINOBJ = wincemain.$(OBJEXT) all: $(srcdir)/wince/Makefile.sub $(srcdir)/common.mk @@ -219,13 +216,13 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/wince/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_FCNTL_H 1 #define HAVE_SYS_UTIME_H 1 -- cgit v1.2.3