Compile config.c as C++

This commit is contained in:
Johan Wikman
2017-03-22 21:57:59 +02:00
parent c84c2dcfbd
commit 74085978b4
4 changed files with 46 additions and 43 deletions

View File

@ -16,7 +16,7 @@
#define SS_DEBUG
#endif
#include "../config.c"
#include "../config.cc"
#define TEST(a) do{if(!(a)){printf("Error: `" #a "` was not true\n");return 1;}}while(false)

View File

@ -39,7 +39,7 @@
#include <maxscale/paths.h>
// This is pretty ugly but it's required to test internal functions
#include "../config.c"
#include "../config.cc"
#include "../server.c"
/**