aboutsummaryrefslogtreecommitdiff
path: root/subhook.h
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2020-10-31 17:18:48 +0600
committerZeex <zeex@rocketmail.com>2020-11-01 12:40:41 +0600
commit8d0b8a8d57804426dedf605d9e4a0848b1cd862f (patch)
tree57da74c2d6c8f7940d2cda919509555214938f0b /subhook.h
parent89f9730f2b90e12b52fb59589e02400999643b8c (diff)
downloadsubhook-8d0b8a8d57804426dedf605d9e4a0848b1cd862f.zip
subhook-8d0b8a8d57804426dedf605d9e4a0848b1cd862f.tar.gz
subhook-8d0b8a8d57804426dedf605d9e4a0848b1cd862f.tar.bz2
FreeBSD build support
Diffstat (limited to 'subhook.h')
-rw-r--r--subhook.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/subhook.h b/subhook.h
index f2fbc8b..d2f6814 100644
--- a/subhook.h
+++ b/subhook.h
@@ -41,11 +41,8 @@
#if defined _WIN32 || defined __CYGWIN__
#define SUBHOOK_WINDOWS
-#elif defined __linux__
- #define SUBHOOK_LINUX
- #define SUBHOOK_UNIX
-#elif defined __APPLE__
- #define SUBHOOK_MACOS
+#elif defined __linux__ || defined __APPLE__ \
+ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__
#define SUBHOOK_UNIX
#else
#error Unsupported operating system