mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed platform stuff
This commit is contained in:
@@ -9,25 +9,9 @@
|
|||||||
#define TOY_VERSION_PATCH 0
|
#define TOY_VERSION_PATCH 0
|
||||||
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
|
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
|
||||||
|
|
||||||
//platform exports/imports
|
//platform exports/imports --was it needed?
|
||||||
#if defined(WIN32) || defined(_WIN32)
|
|
||||||
|
|
||||||
#if defined(TOY_EXPORT)
|
|
||||||
#define TOY_API __declspec(dllexport)
|
|
||||||
#else
|
|
||||||
#define TOY_API __declspec(dllimport)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#elif defined(linux)
|
|
||||||
|
|
||||||
#define TOY_API extern
|
#define TOY_API extern
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#define TOY_API
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef TOY_EXPORT
|
#ifndef TOY_EXPORT
|
||||||
//for processing the command line arguments
|
//for processing the command line arguments
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user