diff options
author | Thomas Touhey <thomas@touhey.fr> | 2019-04-29 14:34:38 +0200 |
---|---|---|
committer | Thomas Touhey <thomas@touhey.fr> | 2019-04-29 14:34:38 +0200 |
commit | 06339feadeda7f0237cf3919d68d61439e5c15c2 (patch) | |
tree | fa4757026c86c9c21b60d44f0836a1c88cd8540b /include/libtio/native.h | |
parent | 751f742fc8b8be0746b54d45822b9351f8079a64 (diff) |
Fixed POSIX building
Diffstat (limited to 'include/libtio/native.h')
-rw-r--r-- | include/libtio/native.h | 2 |
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 |