mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix different declaration of mkdir between Watcom and DJGPP.
This commit is contained in:
@@ -32,6 +32,14 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#ifndef AARU_FSTESTER_SETTER_DOS_H
|
||||
#define AARU_FSTESTER_SETTER_DOS_H
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#define __dos_mkdir(a) mkdir(a)
|
||||
#elif defined(__DJGPP__)
|
||||
#include <sys/stat.h>
|
||||
#define __dos_mkdir(path) mkdir(path, 0)
|
||||
#endif
|
||||
|
||||
#pragma pack(__push, 1)
|
||||
|
||||
typedef struct _Fat32FreeSpace
|
||||
|
||||
Reference in New Issue
Block a user