diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-21 07:20:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-21 07:20:23 +0000 |
commit | 1a4f41f05361505856573a55e64634b065f9d1b9 (patch) | |
tree | aebc730195213f91e7593e4540f28383ef9229ab /util.h | |
parent | 3f9c58048f405cf06689054a4aa0ab1032e85813 (diff) |
* dln.h, ruby.h, util.h: enable prototypes in C++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -14,6 +14,14 @@ #define UTIL_H #ifndef _ +#ifdef __cplusplus +# ifndef HAVE_PROTOTYPES +# define HAVE_PROTOTYPES 1 +# endif +# ifndef HAVE_STDARG_PROTOTYPES +# define HAVE_STDARG_PROTOTYPES 1 +# endif +#endif #ifdef HAVE_PROTOTYPES # define _(args) args #else |