diff options
author | Jerome Duval <jerome.duval@gmail.com> | 2019-09-08 11:36:26 (GMT) |
---|---|---|
committer | Jerome Duval <jerome.duval@gmail.com> | 2019-11-07 13:32:38 (GMT) |
commit | 935b432be14bb97ddba14880640d69d98ea5ad57 (patch) | |
tree | d933888b4d0fc354fe1564e2e1da3ada86e5f14c /programs/platform.h | |
parent | 6e0d2be73aae5a813bd5dc094bb39b3e03358817 (diff) | |
download | lz4-935b432be14bb97ddba14880640d69d98ea5ad57.zip lz4-935b432be14bb97ddba14880640d69d98ea5ad57.tar.gz lz4-935b432be14bb97ddba14880640d69d98ea5ad57.tar.bz2 |
bring support for Haiku up to date.
Diffstat (limited to 'programs/platform.h')
-rw-r--r-- | programs/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/platform.h b/programs/platform.h index 7e2cb58..bdbcb3b 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -81,7 +81,8 @@ extern "C" { #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)) /* UNIX-like OS */ \ || defined(__midipix__) || defined(__VMS)) # if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) /* POSIX.1–2001 (SUSv3) conformant */ \ - || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MidnightBSD__) /* BSD distros */ + || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MidnightBSD__) /* BSD distros */ \ + || defined(__HAIKU__) # define PLATFORM_POSIX_VERSION 200112L # else # if defined(__linux__) || defined(__linux) |