Use common actionTaken variable type for OS/2.

This commit is contained in:
2021-03-11 23:59:34 +00:00
parent 7bd02b2150
commit 2a2962bd3e
2 changed files with 8 additions and 4 deletions

View File

@@ -46,14 +46,12 @@ void FileAttributes(const char* path)
char drivePath[4];
APIRET rc = 0, wRc = 0, cRc = 0;
HFILE handle;
int i;
int i;
ACTION_RET actionTaken = 0;
// 32 bit
#if(defined(__I386__) || defined(__i386__) || defined(__THW_INTEL) || defined(_M_I386))
ULONG actionTaken = 0;
FILESTATUS3 fileStatus = {{0}};
#else // 16 bit
USHORT actionTaken = 0;
#endif
drivePath[0] = path[0];

View File

@@ -39,6 +39,12 @@ Copyright (C) 2011-2021 Natalia Portillo
#define APIRET USHORT
#endif
#define ACTION_RET USHORT
#else // 32 bit
#define ACTION_RET ULONG
#endif
/* Information level types (defins method of query) */