mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Compile fixes for GNU/Hurd systems.
Define PATH_MAX if it's not defined and the compiler defines __GNU__.
This commit is contained in:
parent
e1464ffd64
commit
c64f05279c
6
3rdparty/luafilesystem/src/lfs.c
vendored
6
3rdparty/luafilesystem/src/lfs.c
vendored
@ -60,6 +60,12 @@
|
||||
#include <utime.h>
|
||||
#endif
|
||||
|
||||
#ifdef __GNU__
|
||||
#ifndef MAXPATHLEN
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user