[build] MSVC: set HAVE_SYSTEM for desktop apps

This commit is contained in:
Sjors Provoost 2019-03-15 10:43:35 +01:00
parent c1c91bb78d
commit cc3ad56ff2
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

View file

@ -421,4 +421,14 @@
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Windows Universal Platform constraints */
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
/* Either a desktop application without API restrictions, or and older system
before these macros were defined. */
/* ::wsystem is available */
#define HAVE_SYSTEM 1
#endif // !WINAPI_FAMILY || WINAPI_FAMILY_DESKTOP_APP
#endif //BITCOIN_BITCOIN_CONFIG_H