Skip to content

Commit

Permalink
Update c standard in test cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhaKanhere committed Feb 21, 2024
1 parent b9dd69f commit 366fee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ project ( "coreHTTP tests"
# Allow the project to be organized into folders.
set_property( GLOBAL PROPERTY USE_FOLDERS ON )

# Use C90.
set( CMAKE_C_STANDARD 90 )
# Use C99 as lhttp requires C99.
set( CMAKE_C_STANDARD 99 )
set( CMAKE_C_STANDARD_REQUIRED ON )

# If no configuration is defined, turn everything on.
Expand Down

0 comments on commit 366fee7

Please sign in to comment.