Skip to content

Commit b2fd77d

Browse files
markaj-nordicrlubos
authored andcommitted
[nrf noup] [nrfconnect] Remove D_SYS__PTHREADTYPES_H_ flag
... from the gnu17 configuration to avoid missing pthread types definitions (_pthreadtypes.h). This tricked the preprocessor the header was already included, hence we didn't get its content. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>
1 parent fc312bc commit b2fd77d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
add_library(gnu17 INTERFACE)
22
target_compile_options(gnu17
33
INTERFACE
4-
$<$<COMPILE_LANGUAGE:CXX>:-std=gnu++17>
5-
-D_SYS__PTHREADTYPES_H_)
4+
$<$<COMPILE_LANGUAGE:CXX>:-std=gnu++17>)
65
target_link_libraries(app PRIVATE gnu17)

0 commit comments

Comments
 (0)