mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix OS/2 includes to not repeat including os2.h.
This commit is contained in:
@@ -22,6 +22,9 @@ Aaru Data Preservation Suite
|
||||
Copyright (C) 2011-2021 Natalia Portillo
|
||||
*****************************************************************************/
|
||||
|
||||
#define INCL_DOSMISC
|
||||
#define INCL_DOSFILEMGR
|
||||
|
||||
#include <os2.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -25,7 +25,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#ifndef AARU_FSTESTER_SETTER_SRC_OS2_ATTR_H_
|
||||
#define AARU_FSTESTER_SETTER_SRC_OS2_ATTR_H_
|
||||
|
||||
#ifndef OS2_INCLUDED
|
||||
#define INCL_DOSMISC
|
||||
#define INCL_DOSFILEMGR
|
||||
|
||||
#include <os2.h>
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
@@ -25,7 +25,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#ifndef AARU_FSTESTER_SETTER_SRC_OS2_H
|
||||
#define AARU_FSTESTER_SETTER_SRC_OS2_H
|
||||
|
||||
#ifndef OS2_INCLUDED
|
||||
#define INCL_DOSMISC
|
||||
#define INCL_DOSFILEMGR
|
||||
|
||||
#include <os2.h>
|
||||
#endif
|
||||
|
||||
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86)) // 16 bit
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../log.h"
|
||||
#include "os2.h"
|
||||
#include "os2defs.h"
|
||||
|
||||
void GetVolumeInfo(const char* path, size_t* clusterSize)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user