File: mintfake.h

package info (click to toggle)
aranym 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,488 kB
  • sloc: cpp: 178,117; ansic: 170,405; perl: 5,637; sh: 5,547; asm: 2,282; makefile: 1,324; objc: 218
file content (63 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
 * The ARAnyM MetaDOS driver.
 *
 * This is the FreeMiNT configuration file modified for
 * the ARAnyM HOSTFS.DOS MetaDOS driver
 *
 * 2002 STan
 */

#ifndef _mintfake_h_
#define _mintfake_h_

# ifndef ARAnyM_MetaDOS
# define ARAnyM_MetaDOS
# endif

/* MetaDOS function header macros to let the functions create also metados independent */
# define MetaDOSFile  void *devMD, char *pathNameMD, void *fpMD, long retMD, int opcodeMD,
# define MetaDOSDir   void *devMD, char *pathNameMD, DIR *dirMD, long retMD, int opcodeMD,
# define MetaDOSDTA0  void *devMD, char *pathNameMD, void *dtaMD, long retMD, int opcodeMD
# define MetaDOSDTA0pass  devMD, pathNameMD, dtaMD, retMD, opcodeMD
# define MetaDOSDTA   MetaDOSDTA0,

/* disable some defines from the sys/mint/ *.h */
#ifdef O_GLOBAL
# undef O_GLOBAL
#endif


/* rollback the settings from the FreeMiNT CVS's sys/mint/config.h) */
#ifdef CREATE_PIPES
# undef  CREATE_PIPES
#endif

#ifdef SYSUPDATE_DAEMON
# undef  SYSUPDATE_DAEMON
#endif

#ifdef OLDSOCKDEVEMU
# undef  OLDSOCKDEVEMU
#endif

#ifdef WITH_KERNFS
# undef  WITH_KERNFS
#endif
# define WITH_KERNFS 0

#ifdef DEV_RANDOM
# undef  DEV_RANDOM
#endif

#ifdef PATH_MAX
# undef  PATH_MAX
#endif
# define PATH_MAX 1024

#ifdef SPRINTF_MAX
# undef  SPRINTF_MAX
#endif
# define SPRINTF_MAX 128


#endif /* _mintfake_h_ */