mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 15:28:11 -05:00
Make compilation process compatible to linux on gcc
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <d3d11.h>
|
||||
//#include <d3d11.h>
|
||||
#include "Image/Texture.h"
|
||||
|
||||
#include "IW4_Assets.h"
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <d3d11.h>
|
||||
//#include <d3d11.h>
|
||||
#include "Image/Texture.h"
|
||||
|
||||
#include "T6_Assets.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <map>
|
||||
|
||||
#include "XAssetInfo.h"
|
||||
#include "zone/Zone.h"
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
class Zone;
|
||||
|
||||
|
Reference in New Issue
Block a user