diff options
author | Jack Lloyd <[email protected]> | 2015-08-29 10:06:34 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-08-29 10:06:34 -0400 |
commit | e4962bebbc687e93e47d35339b6a2242aefee51e (patch) | |
tree | 5aa5a714c670f8928ad16d379328b5426189f45a /src/cmd/apps.h | |
parent | 82bb7758f963c5790bbedc44169207fcbeaa40fa (diff) |
Remove unneeded includes and clean up socket feature test
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 |