From 6b1b28afd06048377f60640633ef23a2bb626579 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 9 Dec 2015 23:25:14 -0800 Subject: Solaris issue: ftruncate not detected. * configure (lang_flags): Add POSIX_C_SOURCE set to 200112. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b63c7297..d3b821b3 100755 --- a/configure +++ b/configure @@ -96,7 +96,7 @@ yacc='$(cross)$(tool_prefix)$(yaccname)' yacc_given= nm='$(cross)$(tool_prefix)nm' opt_flags=-O2 -lang_flags='-ansi -D_XOPEN_SOURCE=700' +lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112' diag_flags='-Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes' debug_flags=-g debug_only_flags=-DTXR_DEBUG -- cgit v1.2.3