mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Rename os2.h to os2defs.h to prevent collision in old compilers.
This commit is contained in:
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../../include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "../../include/defs.h"
|
#include "../../include/defs.h"
|
||||||
#include "../../log.h"
|
#include "../../log.h"
|
||||||
#include "../os2.h"
|
#include "../os2defs.h"
|
||||||
|
|
||||||
void GetOsInfo()
|
void GetOsInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../../include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "../../include/defs.h"
|
#include "../../include/defs.h"
|
||||||
#include "../../log.h"
|
#include "../../log.h"
|
||||||
#include "../os2.h"
|
#include "../os2defs.h"
|
||||||
|
|
||||||
void ExtendedAttributes(const char* path)
|
void ExtendedAttributes(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#define INCL_DOSMISC
|
#define INCL_DOSMISC
|
||||||
#define INCL_DOSFILEMGR
|
|
||||||
|
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -33,7 +32,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../../include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "../../include/defs.h"
|
#include "../../include/defs.h"
|
||||||
#include "../../log.h"
|
#include "../../log.h"
|
||||||
#include "../os2.h"
|
|
||||||
|
|
||||||
void GetOsInfo()
|
void GetOsInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -22,9 +22,6 @@ Aaru Data Preservation Suite
|
|||||||
Copyright (C) 2011-2021 Natalia Portillo
|
Copyright (C) 2011-2021 Natalia Portillo
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#define INCL_DOSMISC
|
|
||||||
#define INCL_DOSFILEMGR
|
|
||||||
|
|
||||||
#include <os2.h>
|
#include <os2.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -35,7 +32,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void FileAttributes(const char* path)
|
void FileAttributes(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void DeleteFiles(const char* path)
|
void DeleteFiles(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void DirectoryDepth(const char* path)
|
void DirectoryDepth(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void Filenames(const char* path)
|
void Filenames(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void MillionFiles(const char* path)
|
void MillionFiles(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
void Fragmentation(const char* path, size_t clusterSize)
|
void Fragmentation(const char* path, size_t clusterSize)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
|
|
||||||
#define __os2_chdir(path) DosChDir(path, 0)
|
#define __os2_chdir(path) DosChDir(path, 0)
|
||||||
#define __os2_mkdir(path) DosMkDir(path, 0)
|
#define __os2_mkdir(path) DosMkDir(path, 0)
|
||||||
#define __os2_delete(path) DosDelete(path, 0);
|
#define __os2_delete(path) DosDelete(path, 0)
|
||||||
|
|
||||||
#else // 32 bit
|
#else // 32 bit
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../os2.h"
|
#include "../os2defs.h"
|
||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "../include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "../include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "../log.h"
|
#include "../log.h"
|
||||||
#include "os2.h"
|
#include "os2defs.h"
|
||||||
|
|
||||||
#define DATETIME_FORMAT "This file is dated %04d/%02d/%02d %02d:%02d:%02d for %s\n"
|
#define DATETIME_FORMAT "This file is dated %04d/%02d/%02d %02d:%02d:%02d for %s\n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user