소스 검색

Try to fix unit test (linker error for private tests)

bel2125 5 년 전
부모
커밋
5a764bb691
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/civetweb.c

+ 3 - 0
src/civetweb.c

@@ -18793,6 +18793,9 @@ legacy_init(const char **options)
 }
 
 
+#if !defined(MG_EXPERIMENTAL_INTERFACES)
+static
+#endif
 struct mg_context *
 mg_start2(struct mg_init_data *init, struct mg_error_data *error)
 {