diff options
Diffstat (limited to 'lib/stdio-impl.h')
| -rw-r--r-- | lib/stdio-impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 78d896e9f55..05c5752a243 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h | |||
| @@ -18,6 +18,12 @@ | |||
| 18 | the same implementation of stdio extension API, except that some fields | 18 | the same implementation of stdio extension API, except that some fields |
| 19 | have different naming conventions, or their access requires some casts. */ | 19 | have different naming conventions, or their access requires some casts. */ |
| 20 | 20 | ||
| 21 | /* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this | ||
| 22 | problem by defining it ourselves. FIXME: Do not rely on glibc | ||
| 23 | internals. */ | ||
| 24 | #if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN | ||
| 25 | # define _IO_IN_BACKUP 0x100 | ||
| 26 | #endif | ||
| 21 | 27 | ||
| 22 | /* BSD stdio derived implementations. */ | 28 | /* BSD stdio derived implementations. */ |
| 23 | 29 | ||