mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 03:34:52 +01:00
Add linux steamclient builds.
This commit is contained in:
parent
2faba9bed9
commit
e9513d4733
5 changed files with 42 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue