commit | 6fc9aa7bcbef2c41bd8451aac298f3a71d5252ad | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Mar 14 12:40:40 2025 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Mar 14 12:40:40 2025 -0700 |
tree | 88f363b7159bfd531f44c7502d882fb2dabb8e82 | |
parent | b3be51399efc35c8cf1d131599e7a83b7e5f0e11 [diff] [blame] |
fortify_test.cpp: _FORTIFY_SOURCE=3 should be a superset of 2. Change-Id: I792d1fef0a58db9738578d58afdea41f5c4a9be6
diff --git a/tests/fortify_test.cpp b/tests/fortify_test.cpp index ee71f03..fd1680b 100644 --- a/tests/fortify_test.cpp +++ b/tests/fortify_test.cpp
@@ -43,7 +43,7 @@ using DEATHTEST = SilentDeathTest; -#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE == 2 +#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE >= 2 struct foo { char empty[0]; char one[1];