From 9effc74508ee3836f4b78b3f6bbb9370e2ca4672 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 24 Jun 2004 17:02:11 +0000 Subject: [PATCH] * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when including version.h. [ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++-- bcc32/setup.mak | 2 +- wince/setup.mak | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7ce1b170c1..d33851af3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ Fri Jun 25 01:58:01 2004 NAKAMURA Usaku - * win32/setup.mak: remove RUBY_EXTERN lines when including version.h. - [ruby-talk:104456] + * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when + including version.h. [ruby-talk:104456] Thu Jun 24 14:23:29 2004 Nobuyoshi Nakada diff --git a/bcc32/setup.mak b/bcc32/setup.mak index abce40dd83..58d7f21707 100644 --- a/bcc32/setup.mak +++ b/bcc32/setup.mak @@ -41,7 +41,7 @@ EXTSTATIC = $(EXTSTATIC) RDOCTARGET = $(RDOCTARGET) !endif | - @cpp32 -I$(srcdir) -P- -o$(MAKEFILE) > nul &&| + @cpp32 -I$(srcdir) -P- -DRUBY_EXTERN="//" -o$(MAKEFILE) > nul &&| \#include "version.h" MAJOR = RUBY_VERSION_MAJOR MINOR = RUBY_VERSION_MINOR diff --git a/wince/setup.mak b/wince/setup.mak index ea997834fd..df2ed89a17 100644 --- a/wince/setup.mak +++ b/wince/setup.mak @@ -48,7 +48,7 @@ armv4i-sig3-wince: -prologue- -armv4i- -sig3- -epilogue- ### Makefile for ruby $(OS) ### srcdir = $(srcdir:\=/) << - @$(CPP) -I$(srcdir) <<"Creating $(MAKEFILE)" >> $(MAKEFILE) + @$(CPP) -I$(srcdir) -DRUBY_EXTERN="//" <<"Creating $(MAKEFILE)" >> $(MAKEFILE) #include "version.h" MAJOR = RUBY_VERSION_MAJOR MINOR = RUBY_VERSION_MINOR