Skip to content

Commit

Permalink
NORETURN, INLINE
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Jan 11, 2001
1 parent 8bbfa6f commit 6ee84cb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Thu Jan 11 10:45:04 2001 WATANABE Hirofumi <[email protected]>

* win32/win32.h, win32/config.h.in: move NORETURN from win32.h
to config.h.in.

* win32/config.h.in (inline): renamed from INLINE.

* djgpp/config.hin (INLINE): removed.

Wed Jan 10 16:15:08 2001 WATANABE Hirofumi <[email protected]>

* ruby.h: NORETURN macro is changed for VC++ 6.0.
Expand Down
6 changes: 4 additions & 2 deletions win32/config.h.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#define HAVE_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1
/* #define HAVE_ATTR_NORETURN 1 */
#define HAVE_INLINE 1
#define INLINE __inline
#if _MSC_VER > 1100 && !defined NORETURN
#define NORETURN(x) __declspec(noreturn) x
#endif
#define inline __inline
/* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1
Expand Down
4 changes: 0 additions & 4 deletions win32/win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#define EXTERN extern __declspec(dllexport)
#endif

#if defined _MSC_VER && !defined NORETURN
#define NORETURN(x) __declspec(noreturn) x
#endif

//
// Definitions for NT port of Perl
//
Expand Down

0 comments on commit 6ee84cb

Please sign in to comment.