Define a preprocessor flag HAS_NG_BOOL

This commit is contained in:
Holger Vogt 2021-05-05 21:59:25 +02:00
parent f6ba097b9c
commit 7064df7f3b
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ All boolean signals (NG_BOOL) are of type int.
#ifndef NGSPICE_PACKAGE_VERSION #ifndef NGSPICE_PACKAGE_VERSION
#define NGSPICE_PACKAGE_VERSION "34+" #define NGSPICE_PACKAGE_VERSION "34+"
#endif #endif
/* we have NG_BOOL instead of BOOL */
#ifndef HAS_NG_BOOL
#define HAS_NG_BOOL 1
#endif
#ifndef NGSPICE_DLL_H #ifndef NGSPICE_DLL_H
#define NGSPICE_DLL_H #define NGSPICE_DLL_H