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