File:  [Apple XNU] / GNUtools / cc / config / i386 / xm-linux.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:45:47 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, GNUtools33
GNU tools for NeXTSTEP 3.3

/* Configuration for GCC for Intel i386 running Linux.
 *
 * Written by H.J. Lu ([email protected])
 */

#include "i386/xm-i386.h"
#include "xm-svr3.h"

#undef BSTRING
#define BSTRING
#undef bcmp
#undef bcopy
#undef bzero
#undef index
#undef rindex

#if 0 /* These conflict with stdlib.h in protoize, it is said,
	 and there's no evidence they are actually needed.  */
#undef malloc(n)
#define malloc(n)	malloc ((n) ? (n) : 1)
#undef calloc(n,e)
#define calloc(n,e)	calloc (((n) ? (n) : 1), ((e) ? (e) : 1))
#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.