diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-10-28 19:20:56 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-10-28 19:44:20 +1100 |
commit | ef528d3a8624918eb98e02604bbbdb3e47e555e9 (patch) | |
tree | d37f69240a8cb26e07f74e4b803605174e15457b /test/src | |
parent | 5148aad3d4faf303a32cec4816bbd33cc6feabef (diff) | |
download | redot-cpp-ef528d3a8624918eb98e02604bbbdb3e47e555e9.tar.gz |
Rename interface to gdn_interface because it's a defined keyword under windows
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/example.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/example.h b/test/src/example.h index c72ad60..1dc6a4e 100644 --- a/test/src/example.h +++ b/test/src/example.h @@ -31,6 +31,12 @@ #ifndef EXAMPLE_CLASS_H #define EXAMPLE_CLASS_H +// We don't need windows.h in this plugin but many others do and it throws up on itself all the time +// So best to include it and make sure CI warns us when we use something Microsoft took for their own goals.... +#ifdef WIN32 +#include <windows.h> +#endif + #include <godot_cpp/classes/control.hpp> #include <godot_cpp/classes/global_constants.hpp> #include <godot_cpp/classes/viewport.hpp> |