mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
bde points out that the LIBC_MAJOR macro doesn't exist and requests
that we not use it here. In its place I've put a comment about the current state of play. Submitted by: bde
This commit is contained in:
parent
b2423a5f88
commit
cf04ed1bdf
1 changed files with 6 additions and 3 deletions
|
|
@ -69,9 +69,12 @@ static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
|
|||
|
||||
static struct __sFILEX __sFX[3];
|
||||
|
||||
#if LIBC_MAJOR >= 6
|
||||
static
|
||||
#endif
|
||||
/*
|
||||
* We can't make this 'static' until 6.0-current due to binary
|
||||
* compatibility concerns. This also means we cannot change the
|
||||
* sizeof(FILE) until that time either and must continue to use the
|
||||
* __sFILEX stuff to add to FILE.
|
||||
*/
|
||||
FILE __sF[3] = {
|
||||
std(__SRD, STDIN_FILENO),
|
||||
std(__SWR, STDOUT_FILENO),
|
||||
|
|
|
|||
Loading…
Reference in a new issue