Update macros.

This commit is contained in:
2020-03-01 16:57:21 +00:00
parent dade86a84d
commit 8dc482b793
13 changed files with 30 additions and 30 deletions

View File

@@ -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();

View File

@@ -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))

View File

@@ -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);
}

View File

@@ -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

View File

@@ -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",

View File

@@ -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>

View File

@@ -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)

View File

@@ -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";

View File

@@ -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>

View File

@@ -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");

View File

@@ -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"

View File

@@ -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 */

View File

@@ -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