mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
include: Don't expose L_cuserid in strict C standard compliance mode.
L_cuserid is supposed to be exposed only for old POSIX, or in the default (expose everything) environment.
This commit is contained in:
parent
448f5f73dc
commit
76902266ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265881
@ -290,7 +290,7 @@ int vsscanf(const char * __restrict, const char * __restrict, __va_list)
|
||||
/*
|
||||
* Functions defined in all versions of POSIX 1003.1.
|
||||
*/
|
||||
#if __BSD_VISIBLE || __POSIX_VISIBLE <= 199506
|
||||
#if __BSD_VISIBLE || (__POSIX_VISIBLE && __POSIX_VISIBLE <= 199506)
|
||||
#define L_cuserid 17 /* size for cuserid(3); MAXLOGNAME, legacy */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user