mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
6d9e4a20e1
commit
e93b8f1c89
4 changed files with 33 additions and 3 deletions
9
dln.h
9
dln.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue