From a434f9bc911b0253214afe8d0a7e4aeff95be4e2 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 8 Apr 2018 11:20:24 +0300 Subject: [PATCH] Added missing _access() macro for POSIX targets src/textures/hires/hirestex.cpp:338:8: error: use of undeclared identifier '_access' --- src/textures/hires/hirestex.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/textures/hires/hirestex.cpp b/src/textures/hires/hirestex.cpp index 288e99790..54d5a4c75 100644 --- a/src/textures/hires/hirestex.cpp +++ b/src/textures/hires/hirestex.cpp @@ -36,6 +36,11 @@ #include "bitmap.h" #include "textures.h" +#ifndef _WIN32 +#include +#define _access(a,b) access(a,b) +#endif + static int Doom2Wad = -1; // quick'n dirty hack. Should be enough here...