param.h 1.3 KB
Newer Older
S
Shengliang Guan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
/*****************************************************************************\
*                                                                             *
*   Filename	    sys/param.h						      *
*                                                                             *
*   Description     DOS/WIN32 port of standard C library's sys/param.h.	      *
*                                                                             *
*   Notes	                                                              *
*                                                                             *
*   History								      *
*    2014-06-10 JFL Created this file.                                        *
*		    							      *
*          Copyright 2016 Hewlett Packard Enterprise Development LP          *
* Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 *
\*****************************************************************************/

#ifndef _SYS_PARAM_H
#define _SYS_PARAM_H


#ifdef _MSDOS

#define _POSIX_ARG_MAX 127	/* Maximum command line size */

#endif


#ifdef _WIN32

/* #include MSVC_INCLUDE_FILE(sys\param.h) /* Include MSVC's own <sys/param.h> file */

#define _POSIX_ARG_MAX 8191

#endif /* defined(_WIN32) */

#endif /* !defined(_SYS_PARAM_H) */