You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "headers: Use _FILE_OFFSET_BITS == 64 also for 64-bit truncate definition"
This reverts commit fe79aeb.
This change broke building user apps with Qt, if the unistd.h
header has been included before. Qt classes have methods named
"truncate", and they have a guard like this at the top of a
number of headers (e.g. qstring):
#ifdef truncate
#error qstring.h must be included before any header file that defines truncate
#endif
https://github.com/qt/qtbase/blob/v6.10.0/src/corelib/text/qstring.h#L35
Signed-off-by: Martin Storsjö <[email protected]>
0 commit comments