Browse Source

cpitf.c, for Windows, introduce csh variable "win_console"

to reflect whether this .exe is a "console" build
pre-master-46
h_vogt 9 years ago
committed by rlar
parent
commit
0bf381e01d
  1. 5
      src/frontend/cpitf.c

5
src/frontend/cpitf.c

@ -240,6 +240,11 @@ ft_cpinit(void)
#endif
#endif
/* set a variable to announce windows console (to be used in unselecting plotting) */
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(HAS_WINGUI)
cp_vset("win_console", CP_BOOL, &t);
#endif
/* NGSPICEDATADIR has been set to path "$dprefix/share/ngspice" in configure.ac,
Spice_Lib_Dir has been set to NGSPICEDATADIR in conf.c,
may be overridden by environmental variable SPICE_LIB_DIR in ivars().

Loading…
Cancel
Save