Fix typo in CHECK_GCLIB_VERSION name (test)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 13 Oct 2016 08:37:21 +0000 (11:37 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 13 Oct 2016 08:37:21 +0000 (11:37 +0300)
* tests/test.c (CHECK_GCLIB_VERSION): Fix typo in macro name.

tests/test.c

index 6a97200..46acbf4 100644 (file)
 
 # include <stdarg.h>
 
-#define CHECH_GCLIB_VERSION \
+#define CHECK_GCLIB_VERSION \
             if (GC_get_version() != ((GC_VERSION_MAJOR<<16) \
                                     | (GC_VERSION_MINOR<<8) \
                                     | GC_VERSION_MICRO)) { \
 #endif
 
 #define GC_COND_INIT() \
-    INIT_FORK_SUPPORT; GC_OPT_INIT; CHECH_GCLIB_VERSION; INIT_PRINT_STATS
+    INIT_FORK_SUPPORT; GC_OPT_INIT; CHECK_GCLIB_VERSION; INIT_PRINT_STATS
 
 #define CHECK_OUT_OF_MEMORY(p) \
             if ((p) == NULL) { \