mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01: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
1 changed files with 6 additions and 0 deletions
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 a new issue