-
-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define _FILE_OFFSET_BITS 64 unconditionally
according to the manpage, it won't have any effect on 64bit system anyways. and musl always uses 64bit so this macro doesn't have any effect there either.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,13 @@ | |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit glibc */ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
N-R-K
Author
Collaborator
|
||
|
||
#if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) \ | ||
|| defined(__MINGW64__) || defined(__CYGWIN__) | ||
#ifndef _GNU_SOURCE | ||
#define _GNU_SOURCE | ||
#endif | ||
#if defined(__arm__) || defined(__i386__) | ||
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */ | ||
#endif | ||
#if defined(__linux__) | ||
#include <sys/inotify.h> | ||
#define LINUX_INOTIFY | ||
|
@N-R-K mesonbuild/meson#3519
this broke build on my older system