summaryrefslogtreecommitdiffstats
path: root/src/core/error_macros.cpp
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-10-28 19:20:56 +1100
committerBastiaan Olij <mux213@gmail.com>2021-10-28 19:44:20 +1100
commitef528d3a8624918eb98e02604bbbdb3e47e555e9 (patch)
treed37f69240a8cb26e07f74e4b803605174e15457b /src/core/error_macros.cpp
parent5148aad3d4faf303a32cec4816bbd33cc6feabef (diff)
downloadredot-cpp-ef528d3a8624918eb98e02604bbbdb3e47e555e9.tar.gz
Rename interface to gdn_interface because it's a defined keyword under windows
Diffstat (limited to 'src/core/error_macros.cpp')
-rw-r--r--src/core/error_macros.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/error_macros.cpp b/src/core/error_macros.cpp
index 0b60a0d..d0c922e 100644
--- a/src/core/error_macros.cpp
+++ b/src/core/error_macros.cpp
@@ -38,9 +38,9 @@ namespace godot {
void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, const char *p_message, bool p_is_warning) {
if (p_is_warning) {
- internal::interface->print_warning(p_message, p_function, p_file, p_line);
+ internal::gdn_interface->print_warning(p_message, p_function, p_file, p_line);
} else {
- internal::interface->print_error(p_message, p_function, p_file, p_line);
+ internal::gdn_interface->print_error(p_message, p_function, p_file, p_line);
}
}