mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Use common actionTaken variable type for OS/2.
This commit is contained in:
@@ -46,14 +46,12 @@ void FileAttributes(const char* path)
|
|||||||
char drivePath[4];
|
char drivePath[4];
|
||||||
APIRET rc = 0, wRc = 0, cRc = 0;
|
APIRET rc = 0, wRc = 0, cRc = 0;
|
||||||
HFILE handle;
|
HFILE handle;
|
||||||
int i;
|
int i;
|
||||||
|
ACTION_RET actionTaken = 0;
|
||||||
|
|
||||||
// 32 bit
|
// 32 bit
|
||||||
#if(defined(__I386__) || defined(__i386__) || defined(__THW_INTEL) || defined(_M_I386))
|
#if(defined(__I386__) || defined(__i386__) || defined(__THW_INTEL) || defined(_M_I386))
|
||||||
ULONG actionTaken = 0;
|
|
||||||
FILESTATUS3 fileStatus = {{0}};
|
FILESTATUS3 fileStatus = {{0}};
|
||||||
#else // 16 bit
|
|
||||||
USHORT actionTaken = 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
drivePath[0] = path[0];
|
drivePath[0] = path[0];
|
||||||
|
|||||||
@@ -39,6 +39,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#define APIRET USHORT
|
#define APIRET USHORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define ACTION_RET USHORT
|
||||||
|
|
||||||
|
#else // 32 bit
|
||||||
|
|
||||||
|
#define ACTION_RET ULONG
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Information level types (defins method of query) */
|
/* Information level types (defins method of query) */
|
||||||
|
|||||||
Reference in New Issue
Block a user