Move definition of const int ERROR_CODE to be reachable by all functions.

This commit is contained in:
Georg Ziegler 2022-06-19 14:52:04 +02:00
parent 958254ec3e
commit c4404e2918

View file

@ -32,14 +32,16 @@
#include "modules/modules_enabled.gen.h"
const int ERROR_CODE = 77;
#ifdef MODULE_REGEX_ENABLED
#include "modules/regex/regex.h"
#include "core/os/time.h"
#include "core/templates/hash_map.h"
#include "core/templates/list.h"
const int ERROR_CODE = 77;
const int CONVERSION_MAX_FILE_SIZE = 1024 * 1024 * 4; // 4 MB
static const char *enum_renames[][2] = {