diff options
author | Karroffel <therzog@mail.de> | 2017-07-23 17:53:50 +0200 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-07-23 17:53:50 +0200 |
commit | 4769f49cb4b9465ec27ff076e1cf97286cd13453 (patch) | |
tree | 1da8dbf14f072f634d7fddac70dff25998d60818 /include/core/Vector2.hpp | |
parent | 606d2624af00d58da1c3dff0e25c55099459a973 (diff) | |
download | redot-cpp-4769f49cb4b9465ec27ff076e1cf97286cd13453.tar.gz |
Use static linking instead of dynamic linking
Diffstat (limited to 'include/core/Vector2.hpp')
-rw-r--r-- | include/core/Vector2.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/core/Vector2.hpp b/include/core/Vector2.hpp index 73dd562..9cdde2a 100644 --- a/include/core/Vector2.hpp +++ b/include/core/Vector2.hpp @@ -1,17 +1,6 @@ #ifndef VECTOR2_H #define VECTOR2_H - -#if defined(_WIN32) -# ifdef _GD_CPP_CORE_API_IMPL -# define GD_CPP_CORE_API __declspec(dllexport) -# else -# define GD_CPP_CORE_API __declspec(dllimport) -# endif -#else -# define GD_CPP_CORE_API -#endif - #include <godot/godot_vector2.h> #include "Defs.hpp" @@ -20,7 +9,7 @@ namespace godot { class String; -struct GD_CPP_CORE_API Vector2 { +struct Vector2 { union { real_t x; |