Move _stat macro to linux_fix.h

This is a fix for linux, so move it to correct location.
This commit is contained in:
GravisZro 2024-05-22 13:32:05 -04:00
parent ec73d3fe1f
commit d0be4f81bb
3 changed files with 8 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -61,9 +61,4 @@
#ifndef _MACROS_H
#define _MACROS_H
#define CHECK_FLAG(_var, _flag) ((_var) & (_flag))
#ifdef LINUX
#define _stat stat
#endif
#endif