mirror of https://github.com/OpenTTD/OpenTTD
(svn r22502) -Fix (r22501): WIN32 compilation
parent
6e3ef9fa1a
commit
986d5e950d
|
@ -17,6 +17,7 @@
|
||||||
#include "tar_type.h"
|
#include "tar_type.h"
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
# define access _taccess
|
||||||
#elif defined(__HAIKU__)
|
#elif defined(__HAIKU__)
|
||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
#include <storage/FindDirectory.h>
|
#include <storage/FindDirectory.h>
|
||||||
|
|
|
@ -19,9 +19,7 @@
|
||||||
#include "string_func.h"
|
#include "string_func.h"
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifndef WIN32
|
||||||
# define access _taccess
|
|
||||||
#else
|
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue