diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-06-09 17:46:41 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-06-09 17:55:07 +0300 |
commit | 0d86049b43a82faa56ca2314d64d8c3e9508a61b (patch) | |
tree | 63c7c78712207fc39e5283f6f93c9366723706c0 /contrib/tools/bison/lib/binary-io.h | |
parent | dc2056233ab4b16a84dcea43f683eaa0df0a720a (diff) | |
download | ydb-0d86049b43a82faa56ca2314d64d8c3e9508a61b.tar.gz |
Flatten posix-specific headers in bison/lib (gnulib)
Also: switch configs to platform_dispatchers.
82894b183119eb953ffd9eb90de5d6bf29ffed9a
Diffstat (limited to 'contrib/tools/bison/lib/binary-io.h')
-rw-r--r-- | contrib/tools/bison/lib/binary-io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/tools/bison/lib/binary-io.h b/contrib/tools/bison/lib/binary-io.h index 423c2ae3ff..256c23a0ea 100644 --- a/contrib/tools/bison/lib/binary-io.h +++ b/contrib/tools/bison/lib/binary-io.h @@ -25,6 +25,14 @@ so we include it here first. */ #include <stdio.h> +#ifndef O_BINARY + #define O_BINARY 0 +#endif + +#ifndef O_TEXT + #define O_TEXT 0 +#endif + #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif |