2002-08-21 20:49:56 +08:00
|
|
|
/*
|
|
|
|
* param.h
|
2004-04-21 06:49:32 +08:00
|
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
|
|
* This file is a part of the mingw-runtime package.
|
|
|
|
* No warranty is given; refer to the file DISCLAIMER within the package.
|
2002-08-21 20:49:56 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_PARAM_H
|
|
|
|
#define _SYS_PARAM_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
2002-08-29 05:24:59 +08:00
|
|
|
/* These are useful for cross-compiling */
|
|
|
|
#define BIG_ENDIAN 4321
|
|
|
|
#define LITTLE_ENDIAN 1234
|
|
|
|
#define BYTE_ORDER LITTLE_ENDIAN
|
2003-03-17 06:18:05 +08:00
|
|
|
|
2012-08-04 03:16:38 +08:00
|
|
|
#ifdef PATH_MAX
|
2003-03-17 06:18:05 +08:00
|
|
|
#define MAXPATHLEN PATH_MAX
|
2012-08-04 03:16:38 +08:00
|
|
|
#else
|
|
|
|
#define MAXPATHLEN 260
|
|
|
|
#endif
|
2003-03-17 06:18:05 +08:00
|
|
|
|
2002-08-29 05:24:59 +08:00
|
|
|
#endif
|