summaryrefslogtreecommitdiffstats
path: root/programs/platform.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-31 05:13:51 (GMT)
committerRosen Penev <rosenp@gmail.com>2019-09-10 18:29:05 (GMT)
commita55095ddd63431ecb79854f887f40b6a9fcd520c (patch)
treec6c6926d8e187d6ea2345441ecf7071868ae341e /programs/platform.h
parent64e3134b2ad5536460baa628f0f2d8f1d258dbdb (diff)
downloadlz4-a55095ddd63431ecb79854f887f40b6a9fcd520c.zip
lz4-a55095ddd63431ecb79854f887f40b6a9fcd520c.tar.gz
lz4-a55095ddd63431ecb79854f887f40b6a9fcd520c.tar.bz2
util.h: Remove deprecated utime for non-Windows
utime was deprecated in POSIX 2008.
Diffstat (limited to 'programs/platform.h')
-rw-r--r--programs/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/platform.h b/programs/platform.h
index c0b3840..7e2cb58 100644
--- a/programs/platform.h
+++ b/programs/platform.h
@@ -86,7 +86,7 @@ extern "C" {
# else
# if defined(__linux__) || defined(__linux)
# ifndef _POSIX_C_SOURCE
-# define _POSIX_C_SOURCE 200112L /* use feature test macro */
+# define _POSIX_C_SOURCE 200809L /* use feature test macro */
# endif
# endif
# include <unistd.h> /* declares _POSIX_VERSION */