Skip to content

Commit

Permalink
Fix typo in _FORTIFY_SOURCE define.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Giles <giles@thaumas.net>
  • Loading branch information
xnorpx authored and rillian committed Jun 4, 2019
1 parent 3ebf4ad commit ad8fe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ target_link_libraries(opus PRIVATE ${OPUS_REQUIRED_LIBRARIES})
target_compile_definitions(opus PRIVATE OPUS_BUILD ENABLE_HARDENING)

if(NOT MSVC)
target_compile_definitions(opus PRIVATE FORTIFY_SOURCE=2)
target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=2)
endif()

# It is strongly recommended to uncomment one of these VAR_ARRAYS: Use C99
Expand Down

0 comments on commit ad8fe90

Please sign in to comment.