Use static linking instead of dynamic linking
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user