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 | f4b24c219b149c8b202035ccba19cfa5341c8002 (patch) | |
| tree | 75443f1c65204e8b871d2a46a9b1371eec994b91 /dln.h | |
| parent | 392160ee7bc9dd443ca632d74a4c49686102a1a1 (diff) | |
| download | ruby-f4b24c219b149c8b202035ccba19cfa5341c8002.tar.gz ruby-f4b24c219b149c8b202035ccba19cfa5341c8002.tar.xz ruby-f4b24c219b149c8b202035ccba19cfa5341c8002.zip | |
* dln.h, ruby.h, util.h: enable prototypes in C++.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.h')
| -rw-r--r-- | dln.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -13,6 +13,15 @@ #ifndef DLN_H #define DLN_H +#ifdef __cplusplus +# ifndef HAVE_PROTOTYPES +# define HAVE_PROTOTYPES 1 +# endif +# ifndef HAVE_STDARG_PROTOTYPES +# define HAVE_STDARG_PROTOTYPES 1 +# endif +#endif + #undef _ #ifdef HAVE_PROTOTYPES # define _(args) args |
