Преглед на файлове

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

bel2125 преди 5 години
родител
ревизия
481e5b4e31
променени са 1 файла, в които са добавени 3 реда и са изтрити 5 реда
  1. 3 5
      unittest/private.c

+ 3 - 5
unittest/private.c

@@ -33,19 +33,17 @@
 #undef MEMORY_DEBUGGING
 #endif
 
-/* Test all interfaces, including experimental ones */
-#define MG_EXPERIMENTAL_INTERFACES
-
 #ifdef _MSC_VER
 /* Since the C file is included, declare all API functions as static,
- * to avoid linker errors in the test (seems to be required for MS toolchain).
+ * to avoid linker errors in the test (seems to be required for MS
+ * toolchain).
  */
 #define CIVETWEB_API static
 #endif
 
 /* Include C File, so static functions can be called from here */
-#include "../src/civetweb.c"
 #include "civetweb.h"
+#include "../src/civetweb.c"
 
 
 /* Standard includes for the test code below */