Merge pull request #62217 from georgjz/issue62206

Move definition of const int ERROR_CODE to be reachable by all functi…
This commit is contained in:
Rémi Verschelde 2022-06-19 16:44:39 +02:00 committed by GitHub
commit c2f4e734e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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] = {