#pragma once #if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) # define Q_DECL_EXPORT __declspec(dllexport) # define Q_DECL_IMPORT __declspec(dllimport) #else # define Q_DECL_EXPORT __attribute__((visibility("default"))) # define Q_DECL_IMPORT __attribute__((visibility("default"))) #endif #if defined(SG_API_LIBRARY) # define SG_APISHARED_EXPORT Q_DECL_EXPORT #else # define SG_APISHARED_EXPORT Q_DECL_IMPORT #endif #include "SG_baseDataType.h" #ifndef M_PI #define M_PI 3.14159265358979323846 // pi #endif // !M_PI