Add linux steamclient builds.

This commit is contained in:
Mr_Goldberg
2020-01-08 18:43:18 -05:00
parent 2faba9bed9
commit e9513d4733
5 changed files with 42 additions and 8 deletions

View File

@ -19,26 +19,32 @@
// S_API defines the linkage and calling conventions for steam_api.dll exports
#if defined( STEAM_WIN32 ) && !defined( _X360 )
#if defined( STEAM_API_EXPORTS )
#define S_API extern "C" __declspec( dllexport )
#define S_API_EXPORT extern "C" __declspec( dllexport )
#elif defined( STEAM_API_NODLL )
#define S_API extern "C"
#define S_API_EXPORT extern "C"
#else
#define S_API extern "C" __declspec( dllimport )
#define S_API_EXPORT extern "C" __declspec( dllimport )
#endif // STEAM_API_EXPORTS
#elif defined( GNUC )
#if defined( STEAM_API_EXPORTS )
#define S_API extern "C" __attribute__ ((visibility("default")))
#define S_API_EXPORT extern "C" __attribute__ ((visibility("default")))
#else
#define S_API extern "C"
#define S_API_EXPORT extern "C"
#endif // STEAM_API_EXPORTS
#else // !WIN32
#if defined( STEAM_API_EXPORTS )
#define S_API extern "C"
#define S_API_EXPORT extern "C"
#else
#define S_API extern "C"
#define S_API_EXPORT extern "C"
#endif // STEAM_API_EXPORTS
#endif
#ifdef STEAMCLIENT_DLL
#define S_API static
#else
#define S_API S_API_EXPORT
#endif
#if ( defined(STEAM_API_EXPORTS) || defined(STEAM_API_NODLL) ) && !defined(API_GEN)
#define STEAM_PRIVATE_API( ... ) __VA_ARGS__
#elif defined(STEAM_API_EXPORTS) && defined(API_GEN)