* dln.h, ruby.h, util.h: enable prototypes in C++.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2001-12-21 07:20:23 +00:00
parent 6d9e4a20e1
commit e93b8f1c89
4 changed files with 33 additions and 3 deletions

9
dln.h
View file

@ -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