1 /*
2  * The ARAnyM MetaDOS driver.
3  *
4  * This is the FreeMiNT configuration file modified for
5  * the ARAnyM HOSTFS.DOS MetaDOS driver
6  *
7  * 2002 STan
8  */
9 
10 #ifndef _mintfake_h_
11 #define _mintfake_h_
12 
13 # ifndef ARAnyM_MetaDOS
14 # define ARAnyM_MetaDOS
15 # endif
16 
17 /* MetaDOS function header macros to let the functions create also metados independent */
18 # define MetaDOSFile  void *devMD, char *pathNameMD, void *fpMD, long retMD, int opcodeMD,
19 # define MetaDOSDir   void *devMD, char *pathNameMD, DIR *dirMD, long retMD, int opcodeMD,
20 # define MetaDOSDTA0  void *devMD, char *pathNameMD, void *dtaMD, long retMD, int opcodeMD
21 # define MetaDOSDTA0pass  devMD, pathNameMD, dtaMD, retMD, opcodeMD
22 # define MetaDOSDTA   MetaDOSDTA0,
23 
24 /* disable some defines from the sys/mint/ *.h */
25 #ifdef O_GLOBAL
26 # undef O_GLOBAL
27 #endif
28 
29 
30 /* rollback the settings from the FreeMiNT CVS's sys/mint/config.h) */
31 #ifdef CREATE_PIPES
32 # undef  CREATE_PIPES
33 #endif
34 
35 #ifdef SYSUPDATE_DAEMON
36 # undef  SYSUPDATE_DAEMON
37 #endif
38 
39 #ifdef OLDSOCKDEVEMU
40 # undef  OLDSOCKDEVEMU
41 #endif
42 
43 #ifdef WITH_KERNFS
44 # undef  WITH_KERNFS
45 #endif
46 # define WITH_KERNFS 0
47 
48 #ifdef DEV_RANDOM
49 # undef  DEV_RANDOM
50 #endif
51 
52 #ifdef PATH_MAX
53 # undef  PATH_MAX
54 #endif
55 # define PATH_MAX 1024
56 
57 #ifdef SPRINTF_MAX
58 # undef  SPRINTF_MAX
59 #endif
60 # define SPRINTF_MAX 128
61 
62 
63 #endif /* _mintfake_h_ */
64