wok diff syslinux/stuff/iso2exe/libdos.h @ rev 13699
syslinux/iso2exe: only DOS 3, 4 and 6 supported :-/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 15 13:43:51 2012 +0100 (2012-12-15) |
parents | |
children | 3e7ad70145ce |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/syslinux/stuff/iso2exe/libdos.h Sat Dec 15 13:43:51 2012 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +#ifndef __LIBDOS_H 1.5 +#define __LIBDOS_H 1.6 +#undef __SLEEP 1.7 +# ifdef __MSDOS__ 1.8 +// extern void sleep(int seconds); 1.9 +extern char *progname(void); 1.10 +extern int chdir(char *path); 1.11 +extern int chdirname(char *path); 1.12 +# else 1.13 +#define progname() argv[0] 1.14 +#define chdirname(x) chdir(dirname(x)) 1.15 +# endif 1.16 +#endif