From 190a80c023848e2e9a1d5a39736cc72fd698449a Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 4 Nov 2017 21:55:45 +0100 Subject: [PATCH] set relative path --- visualc/src/include/ngspice/config.h | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/visualc/src/include/ngspice/config.h b/visualc/src/include/ngspice/config.h index 642023e90..3a06c53c7 100644 --- a/visualc/src/include/ngspice/config.h +++ b/visualc/src/include/ngspice/config.h @@ -434,31 +434,9 @@ /* Do not trigger unwanted traps by default */ /* #undef NEWTRUNC */ -#ifdef NGDEBUG -#ifdef CONFIG64 -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice64d/bin" +#define NGSPICEBINDIR "../bin" /* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice64d/share/ngspice" -#else -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spiced/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spiced/share/ngspice" -#endif -#else -#ifdef CONFIG64 -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice64/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice64/share/ngspice" -#else -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice/share/ngspice" -#endif -#endif +#define NGSPICEDATADIR "../share/ngspice" /* Define if we want NOBYPASS */ /* #undef NOBYPASS */