diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-20 19:52:18 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-20 19:52:18 (GMT) |
commit | 5f0cc8e2d0dc473185ebac61b03fb6a4262797fb (patch) | |
tree | 72d46344f44f53708a358783235786c25ba4043f /programs/platform.h | |
parent | 2efedaf7dc8f20d2e5761ee600712bdb0371bc5c (diff) | |
download | lz4-5f0cc8e2d0dc473185ebac61b03fb6a4262797fb.zip lz4-5f0cc8e2d0dc473185ebac61b03fb6a4262797fb.tar.gz lz4-5f0cc8e2d0dc473185ebac61b03fb6a4262797fb.tar.bz2 |
fixed gcc warnings (2)
Diffstat (limited to 'programs/platform.h')
-rw-r--r-- | programs/platform.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/platform.h b/programs/platform.h index 244b2d8..e983756 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -41,7 +41,7 @@ extern "C" { ***************************************************************/ #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)) \ || defined(__midipix__) || defined(__VMS)) /* UNIX-like OS */ -# if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) +# if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) \ || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) /* POSIX.1–2001 (SUSv3) conformant */ # define PLATFORM_POSIX_VERSION 200112L # else @@ -105,7 +105,6 @@ extern "C" { # if defined(_AIX) || defined(__hpux) # define _LARGE_FILES /* Large file support on 32-bits AIX and HP-UX */ # endif -# define fseek fseeko #endif |