Skip to content

Commit 64cfb36

Browse files
committed
Fixed order of includes
1 parent 4ea8e28 commit 64cfb36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

unittest/unittest.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
#define USE_PTHREADS // If your platform does not support pthread.h please change this line to #undef!
2727
// #undef USE_PTHREADS
2828

29+
#include "../mapcodelib/mapcoder.c"
30+
#include "../mapcodelib/mapcode_countrynames_short.h"
31+
#include "test_territories.c"
32+
#include "decode_test.h"
33+
2934
#ifdef USE_PTHREADS
3035
#include <pthread.h>
3136
#else
@@ -38,11 +43,6 @@
3843
#define pthread_create(ignore1, ignore2, func, context) func(context)
3944
#endif
4045

41-
#include "../mapcodelib/mapcoder.c"
42-
#include "../mapcodelib/mapcode_countrynames_short.h"
43-
#include "test_territories.c"
44-
#include "decode_test.h"
45-
4646
#define MAXLINESIZE 1024
4747
#ifdef USE_PTHREADS
4848
#define MAX_THREADS 16 // Optimal: not too much, approx. nr of cores * 2, better no more than 32.

0 commit comments

Comments
 (0)