Skip to content

Commit 5cf5512

Browse files
committed
Fixed unittest
1 parent e65c996 commit 5cf5512

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unittest/unittest.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,16 +1683,16 @@ int main(const int argc, const char **argv) {
16831683
int nrTests = 0;
16841684
printf("Mapcode C Library Unit Tests\n");
16851685
printf("Library version %s (data version %s)\n", mapcode_cversion, mapcode_dataversion);
1686-
#ifndef NO_POSIX_THREADS
1686+
#ifdef NO_POSIX_THREADS
16871687
printf("Compiler options: NO_POSIX_THREADS\n");
16881688
#endif
1689-
#ifndef LIMIT_TO_MICRODEGREES
1689+
#ifdef LIMIT_TO_MICRODEGREES
16901690
printf("Compiler options: LIMIT_TO_MICRODEGREES\n");
16911691
#endif
1692-
#ifndef NO_FAST_ENCODE
1692+
#ifdef NO_FAST_ENCODE
16931693
printf("Compiler options: NO_FAST_ENCODE\n");
16941694
#endif
1695-
#ifndef NO_SUPPORT_ALPHABETS
1695+
#ifdef NO_SUPPORT_ALPHABETS
16961696
printf("Compiler options: NO_SUPPORT_ALPHABETS\n");
16971697
#endif
16981698
printf("Using up to %d threads to test in parallel...\n", MAX_THREADS);

0 commit comments

Comments
 (0)