enable backquote substitution for Visual Studio console apps
This commit is contained in:
parent
25264b3980
commit
7d8e287fa3
|
|
@ -193,6 +193,8 @@ extern double x_atanh(double);
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define isatty _isatty
|
#define isatty _isatty
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
|
#define popen _popen
|
||||||
|
#define pclose _pclose
|
||||||
/* NAN not available in MS VS 2008 */
|
/* NAN not available in MS VS 2008 */
|
||||||
#ifndef NAN
|
#ifndef NAN
|
||||||
static const __int64 global_nan = 0x7ff8000000000000i64;
|
static const __int64 global_nan = 0x7ff8000000000000i64;
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,9 @@
|
||||||
/* #undef HAVE_NETINET_IN_H */
|
/* #undef HAVE_NETINET_IN_H */
|
||||||
|
|
||||||
/* Define to 1 if you have the `popen' function. */
|
/* 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. */
|
/* Define to 1 if you have the <pwd.h> header file. */
|
||||||
/* #undef HAVE_PWD_H */
|
/* #undef HAVE_PWD_H */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue