diff options
Diffstat (limited to 'src/cmd/apps.h')
-rw-r--r-- | src/cmd/apps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/apps.h b/src/cmd/apps.h index bcb860fb4..d56fab5ad 100644 --- a/src/cmd/apps.h +++ b/src/cmd/apps.h @@ -68,3 +68,9 @@ class AppRegistrations }; #define REGISTER_APP(nm) AppRegistrations::AppRegistration g_ ## nm ## _registration(#nm, nm) + +#if defined(BOTAN_TARGET_OS_IS_WINDOWS) || defined(BOTAN_TARGET_OS_IS_MINGW) + #undef BOTAN_TARGET_OS_HAS_SOCKETS +#else + #define BOTAN_TARGET_OS_HAS_SOCKETS +#endif |