Browse Source

Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.

ok millert@
OPENBSD_4_3
kettenis 17 years ago
parent
commit
a6236e22e5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/include/limits.h

+ 5
- 1
src/include/limits.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: limits.h,v 1.14 2008/02/02 15:31:31 kettenis Exp $ */
/* $OpenBSD: limits.h,v 1.15 2008/02/10 09:59:54 kettenis Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/* /*
@ -53,7 +53,11 @@
#define _POSIX_STREAM_MAX 8 #define _POSIX_STREAM_MAX 8
#define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLINK_MAX 255
#define _POSIX_SYMLOOP_MAX 8 #define _POSIX_SYMLOOP_MAX 8
#if __POSIX_VISIBLE >= 200112
#define _POSIX_TZNAME_MAX 6
#else
#define _POSIX_TZNAME_MAX 3 #define _POSIX_TZNAME_MAX 3
#endif
#define _POSIX2_BC_BASE_MAX 99 #define _POSIX2_BC_BASE_MAX 99
#define _POSIX2_BC_DIM_MAX 2048 #define _POSIX2_BC_DIM_MAX 2048


Loading…
Cancel
Save