File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 */
1414
1515#define _GNU_SOURCE
16- #define _POSIX_C_SOURCE 200809L /* pthread_rwlock_t */
1716
1817#include "ly_common.h"
1918
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ ly_add_utest(NAME hash_table SOURCES basic/test_hash_table.c)
4747ly_add_utest (NAME inout SOURCES basic/test_inout.c )
4848ly_add_utest (NAME context SOURCES basic/test_context.c )
4949if (NOT WIN32 )
50- ly_add_utest (NAME plugins SOURCES basic/test_plugins.c )
50+ ly_add_utest (NAME plugins SOURCES basic/test_plugins.c )
5151endif ()
5252ly_add_utest (NAME xml SOURCES basic/test_xml.c )
5353ly_add_utest (NAME json SOURCES basic/test_json.c )
@@ -77,4 +77,6 @@ ly_add_utest(NAME nacm SOURCES extensions/test_nacm.c)
7777ly_add_utest (NAME yangdata SOURCES extensions/test_yangdata.c )
7878ly_add_utest (NAME schema_mount SOURCES extensions/test_schema_mount.c )
7979ly_add_utest (NAME structure SOURCES extensions/test_structure.c )
80- ly_add_utest (NAME openconfig SOURCES extensions/test_openconfig.c )
80+ if (HAVE_REGEX_H)
81+ ly_add_utest (NAME openconfig SOURCES extensions/test_openconfig.c )
82+ endif ()
You can’t perform that action at this time.
0 commit comments