Drop code to handle compilers lacking the 'bool' type.
SWIG requires an ISO C++ compiler, so this is no longer useful. Fixes issue#513.
This commit is contained in:
parent
11c422529e
commit
efcaa8fdac
2 changed files with 0 additions and 11 deletions
|
|
@ -18,12 +18,6 @@
|
|||
#include "preprocessor.h"
|
||||
#include "swigwarn.h"
|
||||
|
||||
#if !defined(HAVE_BOOL)
|
||||
typedef int bool;
|
||||
#define true ((bool)1)
|
||||
#define false ((bool)0)
|
||||
#endif
|
||||
|
||||
#define NOT_VIRTUAL 0
|
||||
#define PLAIN_VIRTUAL 1
|
||||
#define PURE_VIRTUAL 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue