Browse Source

enable backquote substitution for Visual Studio console apps

pre-master-46
h_vogt 10 years ago
committed by rlar
parent
commit
7d8e287fa3
  1. 2
      src/include/ngspice/ngspice.h
  2. 4
      visualc/src/include/ngspice/config.h

2
src/include/ngspice/ngspice.h

@ -193,6 +193,8 @@ extern double x_atanh(double);
#define snprintf _snprintf
#define isatty _isatty
#define inline __inline
#define popen _popen
#define pclose _pclose
/* NAN not available in MS VS 2008 */
#ifndef NAN
static const __int64 global_nan = 0x7ff8000000000000i64;

4
visualc/src/include/ngspice/config.h

@ -230,7 +230,9 @@
/* #undef HAVE_NETINET_IN_H */
/* Define to 1 if you have the `popen' function. */
/* undef HAVE_POPEN */
#ifdef CONSOLE
#define HAVE_POPEN 1
#endif
/* Define to 1 if you have the <pwd.h> header file. */
/* #undef HAVE_PWD_H */

Loading…
Cancel
Save