mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Update macros.
This commit is contained in:
@@ -29,8 +29,8 @@ Contains directory definitions
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_GETTER_OS2_DIR_H
|
||||
#define DIC_FSTESTER_GETTER_OS2_DIR_H
|
||||
#ifndef AARU_FSTESTER_GETTER_OS2_DIR_H
|
||||
#define AARU_FSTESTER_GETTER_OS2_DIR_H
|
||||
|
||||
int GetAllInDir();
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@ Contains extended attribute definitions
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_GETTER_OS2_EA_H
|
||||
#define DIC_FSTESTER_GETTER_OS2_EA_H
|
||||
#ifndef AARU_FSTESTER_GETTER_OS2_EA_H
|
||||
#define AARU_FSTESTER_GETTER_OS2_EA_H
|
||||
|
||||
#ifndef max
|
||||
#define max(a, b) ((a) < (b) ? (b) : (a))
|
||||
|
||||
@@ -38,8 +38,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
int main()
|
||||
{
|
||||
ULONG eaCounter = 0;
|
||||
printf("Aaru Filesystem Tester (Getter) for OS/2 %s\n", DIC_FSTESTER_VERSION);
|
||||
printf("%s\n", DIC_COPYRIGHT);
|
||||
printf("Aaru Filesystem Tester (Getter) for OS/2 %s\n", AARU_FSTESTER_VERSION);
|
||||
printf("%s\n", AARU_COPYRIGHT);
|
||||
|
||||
return GetAllInDir("C:", &eaCounter);
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@ Contains global definitions
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_GETTER_OS2_MAIN_H
|
||||
#define DIC_FSTESTER_GETTER_OS2_MAIN_H
|
||||
#ifndef AARU_FSTESTER_GETTER_OS2_MAIN_H
|
||||
#define AARU_FSTESTER_GETTER_OS2_MAIN_H
|
||||
|
||||
#define DIC_FSTESTER_VERSION "0.1"
|
||||
#define DIC_COPYRIGHT "Copyright (C) 2011-2020 Natalia Portillo"
|
||||
#define AARU_FSTESTER_VERSION "0.1"
|
||||
#define AARU_COPYRIGHT "Copyright (C) 2011-2020 Natalia Portillo"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -29,8 +29,8 @@ Constants
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_CONSTS_H
|
||||
#define DIC_FSTESTER_SETTER_CONSTS_H
|
||||
#ifndef AARU_FSTESTER_SETTER_CONSTS_H
|
||||
#define AARU_FSTESTER_SETTER_CONSTS_H
|
||||
|
||||
static const char *filenames[] = {
|
||||
"FILNAM",
|
||||
|
||||
@@ -29,8 +29,8 @@ Contains common definitions
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_DEFS_H
|
||||
#define DIC_FSTESTER_SETTER_DEFS_H
|
||||
#ifndef AARU_FSTESTER_SETTER_DEFS_H
|
||||
#define AARU_FSTESTER_SETTER_DEFS_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined (MSDOS)
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_DOS_H
|
||||
#define DIC_FSTESTER_SETTER_DOS_H
|
||||
#ifndef AARU_FSTESTER_SETTER_DOS_H
|
||||
#define AARU_FSTESTER_SETTER_DOS_H
|
||||
|
||||
#pragma pack(__push, 1)
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
|
||||
#if defined(__OS2__) || defined(__os2__) || defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_DOSOS2_H
|
||||
#define DIC_FSTESTER_SETTER_DOSOS2_H
|
||||
#ifndef AARU_FSTESTER_SETTER_DOSOS2_H
|
||||
#define AARU_FSTESTER_SETTER_DOSOS2_H
|
||||
|
||||
const char *archivedAttributeText = "This file has the archived attribute set.\n";
|
||||
const char *systemAttributeText = "This file has the system attribute set.\n";
|
||||
|
||||
@@ -31,8 +31,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
|
||||
#if defined(macintosh)
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_MACINTOSH_H
|
||||
#define DIC_FSTESTER_SETTER_MACINTOSH_H
|
||||
#ifndef AARU_FSTESTER_SETTER_MACINTOSH_H
|
||||
#define AARU_FSTESTER_SETTER_MACINTOSH_H
|
||||
|
||||
#include <MacTypes.h>
|
||||
|
||||
|
||||
@@ -49,8 +49,8 @@ int main(int argc, char **argv)
|
||||
argc = ccommand(&argv);
|
||||
#endif
|
||||
|
||||
printf("Aaru Filesystem Tester (Setter) %s\n", DIC_FSTESTER_VERSION);
|
||||
printf("%s\n", DIC_COPYRIGHT);
|
||||
printf("Aaru Filesystem Tester (Setter) %s\n", AARU_FSTESTER_VERSION);
|
||||
printf("%s\n", AARU_COPYRIGHT);
|
||||
|
||||
printf("Running in %s (%s)\n", OS_NAME, OS_ARCH);
|
||||
printf("\n");
|
||||
|
||||
@@ -29,11 +29,11 @@ Contains global definitions
|
||||
Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef DIC_FSTESTER_GETTER_MAIN_H
|
||||
#define DIC_FSTESTER_GETTER_MAIN_H
|
||||
#ifndef AARU_FSTESTER_GETTER_MAIN_H
|
||||
#define AARU_FSTESTER_GETTER_MAIN_H
|
||||
|
||||
#define DIC_FSTESTER_VERSION "4.5.99.1663"
|
||||
#define DIC_COPYRIGHT "Copyright (C) 2011-2020 Natalia Portillo"
|
||||
#define AARU_FSTESTER_VERSION "4.5.99.1663"
|
||||
#define AARU_COPYRIGHT "Copyright (C) 2011-2020 Natalia Portillo"
|
||||
|
||||
#if defined(__alpha__) || defined(_M_ALPHA)
|
||||
#define OS_ARCH "axp"
|
||||
|
||||
@@ -30,8 +30,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#if(defined(__OS2__) || defined(__os2__)) && (defined(__I86__) || defined(__i86__) || defined(_M_I86))
|
||||
#ifndef DIC_FSTESTER_SETTER_OS2_16_H
|
||||
#define DIC_FSTESTER_SETTER_OS2_16_H
|
||||
#ifndef AARU_FSTESTER_SETTER_OS2_16_H
|
||||
#define AARU_FSTESTER_SETTER_OS2_16_H
|
||||
|
||||
/* Information level types (defins method of query) */
|
||||
#define FSAIL_QUERYNAME 1 /* Return data for a Drive or Device */
|
||||
|
||||
@@ -32,8 +32,8 @@ Copyright (C) 2011-2020 Natalia Portillo
|
||||
#if defined(__WINDOWS__) || defined(__TOS_WIN__) || defined(__WIN32__) || defined(_WIN64) || defined(_WIN32) || \
|
||||
defined(__NT__)
|
||||
|
||||
#ifndef DIC_FSTESTER_SETTER_WIN32_H
|
||||
#define DIC_FSTESTER_SETTER_WIN32_H
|
||||
#ifndef AARU_FSTESTER_SETTER_WIN32_H
|
||||
#define AARU_FSTESTER_SETTER_WIN32_H
|
||||
|
||||
#ifndef VER_PLATFORM_WIN32s
|
||||
#define VER_PLATFORM_WIN32s 0
|
||||
|
||||
Reference in New Issue
Block a user