diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-01-12 11:34:02 -0800 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-01-12 20:52:14 -0800 |
commit | 1b346e50485ee450e8103e4b1704b43f61bc39f7 (patch) | |
tree | 00f7565f663f6acc22129f772c84428d654af044 /gprofng | |
parent | 52c9ea7a83a9fa912a745bb682f768fd3b47dace (diff) | |
download | gdb-1b346e50485ee450e8103e4b1704b43f61bc39f7.zip gdb-1b346e50485ee450e8103e4b1704b43f61bc39f7.tar.gz gdb-1b346e50485ee450e8103e4b1704b43f61bc39f7.tar.bz2 |
gprofng: 30889 can't compile without large file support
gprofng/ChangeLog
2024-01-12 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR 30889
* src/util.h (O_LARGEFILE): Define to 0, if not defined.
Diffstat (limited to 'gprofng')
-rw-r--r-- | gprofng/src/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gprofng/src/util.h b/gprofng/src/util.h index c6382aa..cbbc2f7 100644 --- a/gprofng/src/util.h +++ b/gprofng/src/util.h @@ -32,6 +32,10 @@ #include "i18n.h" #include "debug.h" +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 +#endif + #define SWAP_ENDIAN(x) swapByteOrder((void *) (&(x)), sizeof(x)) #define AppendString(len, arr, ...) len += snprintf(arr + len, sizeof(arr) - len, __VA_ARGS__) #define ARR_SIZE(x) (sizeof (x) / sizeof (*(x))) |