Mercurial > hg > orthanc-databases
changeset 776:fbe0c295f8ce
force c99
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Sat, 29 Nov 2025 12:06:59 +0100 |
| parents | ff98fb3cb901 |
| children | 565c1cf76b28 |
| files | Resources/CMake/PostgreSQLConfiguration.cmake |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/PostgreSQLConfiguration.cmake Fri Nov 28 19:29:53 2025 +0100 +++ b/Resources/CMake/PostgreSQLConfiguration.cmake Sat Nov 29 12:06:59 2025 +0100 @@ -121,6 +121,8 @@ -D_GNU_SOURCE ) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") + configure_file( ${LIBPQ_SOURCES_DIR}/src/include/port/linux.h ${AUTOGENERATED_DIR}/pg_config_os.h @@ -132,7 +134,6 @@ -D_POSIX_PTHREAD_SEMANTICS ) - # this has been included in the OrthancFramework from 1.12.10+ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSTRERROR_R_INT=1 -D_POSIX_C_SOURCE=200112L") endif()
