Force include catch_platform.h before any if-defs

Closes #994
This commit is contained in:
Martin Hořeňovský 2017-08-21 14:58:50 +02:00
parent 49f5919c41
commit cb2fceb119
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@
# define CATCH_CONFIG_EXTERNAL_INTERFACES
#endif
#include "internal/catch_platform.h"
#ifdef CATCH_IMPL
# ifndef CLARA_CONFIG_MAIN
# define CLARA_CONFIG_MAIN_NOT_DEFINED