diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-06 15:14:28 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 16:50:59 +0200 |
commit | d3ac1dc41d10858fdd9837ed2826595d0aa4c1db (patch) | |
tree | 0056c9791a3a5c6f629ec037f760c51a3d21f27e | |
parent | f1b04c40ba9faf9b7b8969cf3686c35bb7b79b33 (diff) |
Use POSIX-2001 for C++ too
Reviewed-by: dogma
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8d342605..fef3bfc9 100644 --- a/configure.ac +++ b/configure.ac @@ -664,7 +664,7 @@ dnl ----------- dnl if eval "test x$GCC = xyes"; then - CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -std=c++11" + CXXFLAGS="$CXXFLAGS -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -pedantic -std=c++11 -D_POSIX_C_SOURCE=200112L" fi AC_SUBST(BASE_CUR_WORKING_DIR) |