Compile config.c as C++
This commit is contained in:
@ -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)
|
||||
|
||||
|
@ -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"
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user