mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
f1559722eb
* libc/include/sys/param.h: Remove endian info and include <machine/endian.h> instead. * libc/include/machine/endian.h: New file. * libc/machine/arm/machine/endian.h: Ditto. * libc/machine/arm/machine/param.h: Ditto. * libc/sys/arm/sys/param.h: Removed. * libc/sys/sysvi386/sys/param.h: Ditto. * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
26 lines
508 B
C
26 lines
508 B
C
/* This is a dummy <sys/param.h> file, not customized for any
|
|
particular system. If there is a param.h in libc/sys/SYSDIR/sys,
|
|
it will override this one. */
|
|
|
|
#ifndef _SYS_PARAM_H
|
|
# define _SYS_PARAM_H
|
|
|
|
#include <sys/config.h>
|
|
#include <machine/endian.h>
|
|
#include <machine/param.h>
|
|
|
|
#ifndef HZ
|
|
# define HZ (60)
|
|
#endif
|
|
#ifndef NOFILE
|
|
# define NOFILE (60)
|
|
#endif
|
|
#ifndef PATHSIZE
|
|
# define PATHSIZE (1024)
|
|
#endif
|
|
|
|
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
|
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
|
|
|
#endif
|