diff options
-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))) |