From 061c76071ab38625f867349de620e889e0bc82f2 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 5 Nov 2025 17:43:49 +0100 Subject: [PATCH] enable NEWTRUNC/PREDICTOR for Visual Studio --- visualc/src/include/ngspice/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visualc/src/include/ngspice/config.h b/visualc/src/include/ngspice/config.h index 18840505a..7ac24e603 100644 --- a/visualc/src/include/ngspice/config.h +++ b/visualc/src/include/ngspice/config.h @@ -465,7 +465,7 @@ /* #undef NEWPRED */ /* Do not trigger unwanted traps by default */ -/* #undef NEWTRUNC */ +#define NEWTRUNC /* Define if we want NOBYPASS */ /* #undef NOBYPASS */ @@ -490,7 +490,7 @@ #define PACKAGE_VERSION VERSION /* Define if we want predictor algorithm */ -/* #undef PREDICTOR */ +#define PREDICTOR /* Define to 1 if the C compiler supports function prototypes. */ /* #undef PROTOTYPES */