We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea8e28 commit 64cfb36Copy full SHA for 64cfb36
1 file changed
unittest/unittest.c
@@ -26,6 +26,11 @@
26
#define USE_PTHREADS // If your platform does not support pthread.h please change this line to #undef!
27
// #undef USE_PTHREADS
28
29
+#include "../mapcodelib/mapcoder.c"
30
+#include "../mapcodelib/mapcode_countrynames_short.h"
31
+#include "test_territories.c"
32
+#include "decode_test.h"
33
+
34
#ifdef USE_PTHREADS
35
#include <pthread.h>
36
#else
@@ -38,11 +43,6 @@
38
43
#define pthread_create(ignore1, ignore2, func, context) func(context)
39
44
#endif
40
45
41
-#include "../mapcodelib/mapcoder.c"
42
-#include "../mapcodelib/mapcode_countrynames_short.h"
-#include "test_territories.c"
-#include "decode_test.h"
-
46
#define MAXLINESIZE 1024
47
48
#define MAX_THREADS 16 // Optimal: not too much, approx. nr of cores * 2, better no more than 32.
0 commit comments