aboutsummaryrefslogtreecommitdiff
path: root/include/libtio/native.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libtio/native.h')
-rw-r--r--include/libtio/native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libtio/native.h b/include/libtio/native.h
index f5600bc..eaffb01 100644
--- a/include/libtio/native.h
+++ b/include/libtio/native.h
@@ -21,7 +21,7 @@ TIO_BEGIN_DECLS
* - `LIBTIO_DISABLED_WINDOWS`: disable Windows API support.
* - `LIBTIO_DISABLED_MACOS`: disable MacOS (OS X) support. */
-# if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L
+# if defined(__unix__) && __unix__
# else
# define LIBTIO_DISABLED_UNIX 1
# endif