Skip to content

Commit d323131

Browse files
author
Tomas Winkler
committed
safestringlib: unittests: strcasestr requires _GNU_SOURCE
strcasestr requires _GNU_SOURCE definition. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
1 parent d302c30 commit d323131

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unittests/test_strcasestr_s.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*------------------------------------------------------------------
66
*/
77

8+
#define _GNU_SOURCE
89
#include "test_private.h"
910
#include "safe_str_lib.h"
1011

0 commit comments

Comments
 (0)