Skip to content

Commit

Permalink
[build] MSVC: set HAVE_SYSTEM for desktop apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Jun 6, 2019
1 parent c1c91bb commit cc3ad56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build_msvc/bitcoin_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cc3ad56

Please sign in to comment.