Skip to content

Commit a6df88f

Browse files
committed
* common.mk: Borland MAKE doesn't look for file names which have paths
from VPATH. fixed: [ruby-dev:26604] * ruby.h (NORETURN, DEPRECATED): moved just after config.h. * {win32,wince}/Makefile.sub: vsnprintf() is in missing now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent f65273b commit a6df88f

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Mon Jul 25 21:29:20 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* common.mk: Borland MAKE doesn't look for file names which have paths
4+
from VPATH. fixed: [ruby-dev:26604]
5+
6+
* ruby.h (NORETURN, DEPRECATED): moved just after config.h.
7+
8+
* {win32,wince}/Makefile.sub: vsnprintf() is in missing now.
9+
110
Mon Jul 25 14:10:02 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
211

312
* ext/tk/lib/multi-tk.rb: fix en-bugged part in the last commit.

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ signal.$(OBJEXT): {$(VPATH)}signal.c {$(VPATH)}ruby.h config.h \
301301
sjis.$(OBJEXT): {$(VPATH)}sjis.c {$(VPATH)}regenc.h \
302302
{$(VPATH)}oniguruma.h config.h
303303
sprintf.$(OBJEXT): {$(VPATH)}sprintf.c {$(VPATH)}ruby.h config.h \
304-
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h {$(VPATH)}missing/vsnprintf.c
304+
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h {$(VPATH)}vsnprintf.c
305305
st.$(OBJEXT): {$(VPATH)}st.c config.h {$(VPATH)}st.h
306306
string.$(OBJEXT): {$(VPATH)}string.c {$(VPATH)}ruby.h config.h \
307307
{$(VPATH)}defines.h {$(VPATH)}intern.h {$(VPATH)}missing.h \

ruby.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ extern "C" {
2020

2121
#include "config.h"
2222

23+
#define NORETURN_STYLE_NEW 1
24+
#ifndef NORETURN
25+
# define NORETURN(x) x
26+
#endif
27+
#ifndef DEPRECATED
28+
# define DEPRECATED(x) x
29+
#endif
2330
#ifndef NOINLINE
2431
# define NOINLINE(x) x
2532
#endif
@@ -57,14 +64,6 @@ extern "C" {
5764
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c)))
5865
#endif
5966

60-
#define NORETURN_STYLE_NEW 1
61-
#ifndef NORETURN
62-
# define NORETURN(x) x
63-
#endif
64-
#ifndef DEPRECATED
65-
# define DEPRECATED(x) x
66-
#endif
67-
6867
#if defined(HAVE_ALLOCA_H)
6968
#include <alloca.h>
7069
#endif

win32/Makefile.sub

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
251251
#define HAVE_STRTOL 1
252252
#define HAVE_STRTOUL 1
253253
#define HAVE_FLOCK 1
254-
#define HAVE_VSNPRINTF 1
255254
#define HAVE_ISNAN 1
256255
#define HAVE_FINITE 1
257256
#define HAVE_HYPOT 1

wince/Makefile.sub

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/wince/Makefile.sub
251251
#define HAVE_STRTOL 1
252252
#define HAVE_STRTOUL 1
253253
#define HAVE_FLOCK 1
254-
#define HAVE_VSNPRINTF 1
255254
#define HAVE_FINITE 1
256255
#define HAVE_HYPOT 1
257256
#define HAVE_FMOD 1

0 commit comments

Comments
 (0)