mingw uses stdbool.h

This commit is contained in:
dwarning 2024-12-04 15:58:11 +01:00
parent 3f432c19f3
commit 68bd8ae5bd
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef ngspice_BOOL_H
#define ngspice_BOOL_H
#if defined (__MINGW32__) || defined (_MSC_VER)
#if defined (_MSC_VER)
#ifndef __cplusplus
typedef int bool;
#endif