mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Move _stat
macro to linux_fix.h
This is a fix for linux, so move it to correct location.
This commit is contained in:
parent
ec73d3fe1f
commit
d0be4f81bb
@ -23,6 +23,10 @@
|
||||
#include "briefinglocalizer.h"
|
||||
#include "briefinglocalizerDlg.h"
|
||||
|
||||
#ifdef __LINUX__
|
||||
#include "linux/linux_fix.h"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
|
@ -19,7 +19,10 @@
|
||||
#ifndef __CZIPFILE_H_
|
||||
#define __CZIPFILE_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#ifdef __LINUX__
|
||||
#include "linux/linux_fix.h"
|
||||
#endif
|
||||
|
||||
#define OCF_VERSION 0x01
|
||||
|
||||
|
@ -61,9 +61,4 @@
|
||||
#ifndef _MACROS_H
|
||||
#define _MACROS_H
|
||||
#define CHECK_FLAG(_var, _flag) ((_var) & (_flag))
|
||||
|
||||
#ifdef LINUX
|
||||
#define _stat stat
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user