enable backquote substitution for Visual Studio console apps

This commit is contained in:
h_vogt 2016-03-01 00:08:38 +01:00 committed by rlar
parent 25264b3980
commit 7d8e287fa3
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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 */