1
0
forked from 0ad/0ad
0ad/source/lib/posix/posix_filesystem.h
janwas 623e649acb # big refactoring in CPU-specific code, fix for dual core vs. HT detection
all cpu-related stuff is now defined in cpu.h (with cpu_ prefix and
fully encapsulated). fix quite brittle core/HT unit/package detection.
implement mkdir on VC8, where it is deprecated
add strdup on MacOSX
move ia32 code into separate subdir. functions implemented in asm are
called ia32_asm_*.
add some unix versions of sysdep functions (cannot test them)
timer: fix for amd64 linux

This was SVN commit r4995.
2007-04-25 18:19:35 +00:00

14 lines
276 B
C

#if OS_WIN
# include "lib/sysdep/win/wposix/wfilesystem.h"
#else
# include <sys/stat.h>
# include <sys/types.h>
# include <dirent.h>
#endif
#include "posix_errno.h" // for user convenience
#if !HAVE_MKDIR
extern int mkdir(const char* path, mode_t mode);
#endif