mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Clean includes for DOS.
This commit is contained in:
@@ -29,13 +29,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
@@ -44,7 +39,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
@@ -29,13 +29,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
@@ -44,11 +39,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
@@ -31,7 +31,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -29,13 +29,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
|
||||
@@ -29,13 +29,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
@@ -44,7 +39,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
@@ -29,16 +29,14 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __WATCOMC__
|
||||
#include <i86.h>
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
@@ -29,18 +29,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
void Links(const char* path)
|
||||
{ /* Do nothing, not supported by target operating system */
|
||||
|
||||
@@ -29,22 +29,15 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#include <i86.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
@@ -29,25 +29,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
void FilePermissions(const char* path)
|
||||
{ /* Do nothing, not supported by target operating system */
|
||||
|
||||
@@ -29,25 +29,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
void ResourceFork(const char* path)
|
||||
{ /* Do nothing, not supported by target operating system */
|
||||
|
||||
@@ -29,25 +29,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
void Sparse(const char* path)
|
||||
{ /* Do nothing, not supported by target operating system */
|
||||
|
||||
@@ -29,22 +29,17 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#include <i86.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
@@ -31,7 +31,6 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
@@ -39,9 +38,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#include <i86.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
|
||||
@@ -29,25 +29,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#if defined(__DOS__) || defined(MSDOS)
|
||||
|
||||
#include <direct.h>
|
||||
#include <dos.h>
|
||||
#include <i86.h>
|
||||
#include <io.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__WATCOM__)
|
||||
#include <direct.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "../include/consts.h"
|
||||
#include "../include/defs.h"
|
||||
#include "../include/dosos2.h"
|
||||
#include "dos.h"
|
||||
|
||||
void ExtendedAttributes(const char* path)
|
||||
{ /* Do nothing, not supported by target operating system */
|
||||
|
||||
Reference in New Issue
Block a user