engine: move EXPORT definition to xash3d_types

This commit is contained in:
Alibek Omarov
2019-03-20 02:38:37 +03:00
parent 121c72c9e0
commit 4880ca3ca2
2 changed files with 12 additions and 10 deletions
-8
View File
@@ -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