diff --git a/yggdrasil/languages/C/YggInterface.c b/yggdrasil/languages/C/YggInterface.c index 2d81b3746..4109ee449 100644 --- a/yggdrasil/languages/C/YggInterface.c +++ b/yggdrasil/languages/C/YggInterface.c @@ -1,3 +1 @@ -#define RAPIDJSON_FORCE_IMPORT_ARRAY -#include "rapidjson/pyrj_c.h" #include "YggInterface.h" diff --git a/yggdrasil/languages/C/datatypes/datatypes.cpp b/yggdrasil/languages/C/datatypes/datatypes.cpp index 25d9cb440..434d91999 100644 --- a/yggdrasil/languages/C/datatypes/datatypes.cpp +++ b/yggdrasil/languages/C/datatypes/datatypes.cpp @@ -1,3 +1,5 @@ +#define RAPIDJSON_FORCE_IMPORT_ARRAY +#include "rapidjson/pyrj_c.h" #include "datatypes.h" #include "utils.h" #include "serialization.h" diff --git a/yggdrasil/languages/CPP/YggInterface.cpp b/yggdrasil/languages/CPP/YggInterface.cpp index ba1e337a7..78de68684 100644 --- a/yggdrasil/languages/CPP/YggInterface.cpp +++ b/yggdrasil/languages/CPP/YggInterface.cpp @@ -1,3 +1 @@ -#define RAPIDJSON_FORCE_IMPORT_ARRAY -#include "rapidjson/pyrj_c.h" #include "YggInterface.hpp"