From 7064df7f3b3d9339f02d0611c42ab7daa8e4a734 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 5 May 2021 21:59:25 +0200 Subject: [PATCH] Define a preprocessor flag HAS_NG_BOOL --- src/include/ngspice/sharedspice.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index 0c7739181..91fa61f30 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -93,6 +93,10 @@ All boolean signals (NG_BOOL) are of type int. #ifndef NGSPICE_PACKAGE_VERSION #define NGSPICE_PACKAGE_VERSION "34+" #endif +/* we have NG_BOOL instead of BOOL */ +#ifndef HAS_NG_BOOL +#define HAS_NG_BOOL 1 +#endif #ifndef NGSPICE_DLL_H #define NGSPICE_DLL_H