mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-17 10:17:59 -05:00
Make compilation process compatible to linux on gcc
This commit is contained in:
@ -3,6 +3,18 @@
|
||||
#ifndef __IW4_ASSETS_H
|
||||
#define __IW4_ASSETS_H
|
||||
|
||||
#ifndef __align
|
||||
#ifdef __zonecodegenerator
|
||||
#define __align alignas
|
||||
#else
|
||||
#if defined(_MSVC_LANG)
|
||||
#define __align(x) __declspec(align(x))
|
||||
#else
|
||||
#define __align(x) alignas(x)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __zonecodegenerator
|
||||
namespace IW4
|
||||
{
|
||||
|
Reference in New Issue
Block a user