Commit fd64592c authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent f342edc4
......@@ -13,7 +13,7 @@
#include <errno.h>
#include <fcntl.h>
#ifdef unix
#if defined(unix) || defined(_LINUX)
# include <unistd.h>
# include <utime.h>
#else
......@@ -89,13 +89,13 @@ void change_file_date(filename,dosdate,tmu_date)
#ifdef __APPLE__
#ifdef _IOS
#if defined(_IOS) || defined(_MAC)
#include <sys/stat.h>
#endif
int mymkdir(const char* dirname)
{
#ifdef _IOS
#if defined(_IOS) || defined(_MAC)
return mkdir (dirname, (mode_t)0775);
#else
return sys_mkdir (dirname);
......
......@@ -12,7 +12,7 @@
#include <errno.h>
#include <fcntl.h>
#ifdef unix
#if defined(unix) || defined(_LINUX)
# include <unistd.h>
# include <utime.h>
# include <sys/types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment