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_ */
|