1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NORETURN, INLINE

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-01-11 01:56:08 +00:00
parent 8bbfa6fa4c
commit 6ee84cbabe
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,12 @@
Thu Jan 11 10:45:04 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* 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 <eban@ruby-lang.org> Wed Jan 10 16:15:08 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.h: NORETURN macro is changed for VC++ 6.0. * ruby.h: NORETURN macro is changed for VC++ 6.0.

View file

@ -1,8 +1,10 @@
#define HAVE_PROTOTYPES 1 #define HAVE_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1 #define HAVE_STDARG_PROTOTYPES 1
/* #define HAVE_ATTR_NORETURN 1 */ /* #define HAVE_ATTR_NORETURN 1 */
#define HAVE_INLINE 1 #if _MSC_VER > 1100 && !defined NORETURN
#define INLINE __inline #define NORETURN(x) __declspec(noreturn) x
#endif
#define inline __inline
/* #define HAVE_DIRENT_H 1 */ /* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */ /* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1

View file

@ -16,10 +16,6 @@
#define EXTERN extern __declspec(dllexport) #define EXTERN extern __declspec(dllexport)
#endif #endif
#if defined _MSC_VER && !defined NORETURN
#define NORETURN(x) __declspec(noreturn) x
#endif
// //
// Definitions for NT port of Perl // Definitions for NT port of Perl
// //