mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
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.
This commit is contained in:
parent
52c9ea7a83
commit
1b346e5048
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user