Use static linking instead of dynamic linking
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
#ifndef RECT2_H
|
||||
#define RECT2_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 "Vector2.hpp"
|
||||
|
||||
#include <cmath>
|
||||
@@ -26,7 +16,7 @@ typedef Vector2 Point2;
|
||||
|
||||
class Transform2D;
|
||||
|
||||
struct GD_CPP_CORE_API Rect2 {
|
||||
struct Rect2 {
|
||||
|
||||
Point2 pos;
|
||||
Size2 size;
|
||||
|
||||
Reference in New Issue
Block a user