summaryrefslogtreecommitdiffstats
path: root/programs/platform.h
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-12-20 19:52:18 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-12-20 19:52:18 (GMT)
commit5f0cc8e2d0dc473185ebac61b03fb6a4262797fb (patch)
tree72d46344f44f53708a358783235786c25ba4043f /programs/platform.h
parent2efedaf7dc8f20d2e5761ee600712bdb0371bc5c (diff)
downloadlz4-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.h3
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