Added missing _access() macro for POSIX targets

src/textures/hires/hirestex.cpp:338:8: error: use of undeclared identifier '_access'
This commit is contained in:
alexey.lysiuk 2018-04-08 11:20:24 +03:00
parent 472fdb26ad
commit a434f9bc91

View file

@ -36,6 +36,11 @@
#include "bitmap.h"
#include "textures.h"
#ifndef _WIN32
#include <unistd.h>
#define _access(a,b) access(a,b)
#endif
static int Doom2Wad = -1;
// quick'n dirty hack. Should be enough here...