mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
engine: move EXPORT definition to xash3d_types
This commit is contained in:
@@ -47,16 +47,8 @@ XASH SPECIFIC - sort of hack that works only in Xash3D not in GoldSrc
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <stddef.h> // size_t
|
||||
|
||||
#ifdef __i386__
|
||||
#define EXPORT __attribute__ ((visibility ("default"),force_align_arg_pointer))
|
||||
#else
|
||||
#define EXPORT __attribute__ ((visibility ("default")))
|
||||
#endif
|
||||
#else
|
||||
#include <sys/types.h> // off_t
|
||||
|
||||
#define EXPORT __declspec( dllexport )
|
||||
#endif
|
||||
|
||||
// configuration
|
||||
|
||||
Reference in New Issue
Block a user