|
|
1.1 ! root 1: /* ! 2: * $Source: /mit/kerberos/src/include/RCS/highc.h,v $ ! 3: * $Author: jtkohl $ ! 4: * $Header: highc.h,v 4.0 89/01/23 09:59:15 jtkohl Exp $ ! 5: * ! 6: * Copyright 1988 by the Massachusetts Institute of Technology. ! 7: * ! 8: * For copying and distribution information, please see the file ! 9: * <mit-copyright.h>. ! 10: * ! 11: * Known breakage in the version of Metaware's High C compiler that ! 12: * we've got available.... ! 13: */ ! 14: ! 15: #include <mit-copyright.h> ! 16: ! 17: #define const ! 18: /*#define volatile*/ ! 19: ! 20: /* ! 21: * Some builtin functions we can take advantage of for inlining.... ! 22: */ ! 23: ! 24: #define abs _abs ! 25: /* the _max and _min builtins accept any number of arguments */ ! 26: #undef MAX ! 27: #define MAX(x,y) _max(x,y) ! 28: #undef MIN ! 29: #define MIN(x,y) _min(x,y) ! 30: /* ! 31: * I'm not sure if 65535 is a limit for this builtin, but it's ! 32: * reasonable for a string length. Or is it? ! 33: */ ! 34: /*#define strlen(s) _find_char(s,65535,0)*/ ! 35: #define bzero(ptr,len) _fill_char(ptr,len,'\0') ! 36: #define bcmp(b1,b2,len) _compare(b1,b2,len)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.