home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
historic
/
v941.tgz
/
icon.v941src.tar
/
icon.v941src
/
src
/
h
/
proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-12-12
|
2KB
|
68 lines
/*
* proto.h -- prototypes for library functions.
*/
/*
* The following code is operating-system dependent. [@proto.01].
* Prototypes for library functions.
*/
#if PORT
Deliberate Syntax Error
#endif /* PORT */
#if AMIGA
#if LATTICE
#include <dos.h>
#endif /* LATTICE */
#if __SASC
/* GLOBAL and STATIC are defined in tparse.c as well as
in <exec/types.h>, which is included in <dos.h>. */
#undef GLOBAL
#undef STATIC
#include <dos.h>
#undef GLOBAL
#undef STATIC
/* From tparse.c */
# define GLOBAL 273
# define STATIC 286
#endif /* __SASC */
#endif /* AMIGA */
#if MSDOS || OS2
#if HIGHC_386
int brk (pointer p);
pointer sbrk (msize n);
#endif /* HIGHC_386 */
#if INTEL_386
#include <dos.h>
int brk (pointer p);
#endif /* INTEL_386 */
#if MICROSOFT || TURBO || ZTC_386 || WATCOM || NT || BORLAND_286 || BORLAND_386 || SCCX_MX
#include <dos.h>
#endif /* MICROSOFT || TURBO || ZTC_386 ... */
#endif /* MSDOS || OS2 */
/*
* End of operating-system specific code.
*/
#ifdef MSWindows
#if BORLAND_286
#define lstrlen longstrlen
#endif /* Borland_286 */
#endif /* MSWindows */
#include "../h/mproto.h"
/*
* These must be after prototypes to avoid clash with system
* prototypes.
*/
#if IntBits == 16
#define sbrk lsbrk
#define strlen lstrlen
#define qsort lqsort
#endif /* IntBits == 16 */