forked from enlightenment/efl
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
i really dislike having PATH_MAX in a header file... SVN revision: 50231
This commit is contained in:
parent
84efd3507f
commit
c7bb6d41f5
|
@ -288,11 +288,13 @@ if test "x${enable_ememoa}" = "xyes" ; then
|
|||
)
|
||||
fi
|
||||
|
||||
|
||||
### Checks for header files
|
||||
AC_HEADER_ASSERT
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_TIME
|
||||
|
||||
|
||||
### Checks for types
|
||||
|
||||
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
#ifndef EINA_FILE_H_
|
||||
#define EINA_FILE_H_
|
||||
|
||||
#if defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__))
|
||||
# include <sys/syslimits.h>
|
||||
#endif
|
||||
|
||||
#include "eina_types.h"
|
||||
#include "eina_array.h"
|
||||
#include "eina_iterator.h"
|
||||
|
|
|
@ -49,9 +49,6 @@ void *alloca (size_t);
|
|||
# include <sys/stat.h>
|
||||
# include <unistd.h>
|
||||
#else
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
# undef WIN32_LEAN_AND_MEAN
|
||||
# include <Evil.h>
|
||||
#endif /* _WIN2 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue