ref: ad8fe90db79b7d2a135e3dfd2ed6631b0c5662ab
parent: 3ebf4ad86de2469572f7fa2bd6451469e7867c8f
author: Marcus Asteborg <maastebo@microsoft.com>
date: Tue Apr 23 09:41:14 EDT 2019
Fix typo in _FORTIFY_SOURCE define. Signed-off-by: Ralph Giles <giles@thaumas.net>
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,7 +186,7 @@
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