1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/TenDRA/files/patch-limits.h
Tilman Keskinoz a334cf60ed - Update to CVS snapshot 20030526, which fixes the build problems on 5.x
- Give maintainership to submitter

"Unfortunately FreeBSD 5.x uses the GNU C extension
__attribute__((__aligned__(x))) in a couple of system headers
(<machine/npx.h>, <machine/signal.h> and <machine/ucontext.h> for i386).  To
avoid a syntax error __aligned(x) is removed by a #define, but programs that
use struct sigcontext, struct savexmm or mcontext_t probably won't work."

PR:		52619
Submitted by:	Stefan Farfeleder <stefan@fafoe.dyndns.org>
2003-06-03 08:16:58 +00:00

27 lines
867 B
C

Index: src/lib/apis/posix/limits.h
===================================================================
RCS file: /usr/home/stefan/tendra/cvsup/tendra/src/lib/apis/posix/limits.h,v
retrieving revision 1.1
diff -c -u -r1.1 limits.h
--- src/lib/apis/posix/limits.h 26 Jan 2002 21:31:34 -0000 1.1
+++ src/lib/apis/posix/limits.h 17 Feb 2003 14:54:23 -0000
@@ -28,14 +28,14 @@
+IMPLEMENT "ansi", "limits.h" ;
+DEFINE _POSIX_ARG_MAX 4096 ;
-+DEFINE _POSIX_CHILD_MAX 6 ;
++CONST int _POSIX_CHILD_MAX ;
+DEFINE _POSIX_LINK_MAX 8 ;
+DEFINE _POSIX_MAX_CANON 255 ;
+DEFINE _POSIX_MAX_INPUT 255 ;
+DEFINE _POSIX_NAME_MAX 14 ;
-+DEFINE _POSIX_NGROUPS_MAX 0 ;
-+DEFINE _POSIX_OPEN_MAX 16 ;
-+DEFINE _POSIX_PATH_MAX 255 ;
++CONST int _POSIX_NGROUPS_MAX ;
++CONST int _POSIX_OPEN_MAX ;
++CONST int _POSIX_PATH_MAX ;
+DEFINE _POSIX_PIPE_BUF 512 ;
+CONST int NGROUPS_MAX ;