Created
April 14, 2014 16:23
-
-
Save roryk/10662773 to your computer and use it in GitHub Desktop.
libmaus 0.0.104 OSX patch
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
diff -rupN libmaus-0.0.104-release-20140221093548/src/libmaus/aio/PosixFdInput.hpp new/src/libmaus/aio/PosixFdInput.hpp | |
--- libmaus-0.0.104-release-20140221093548/src/libmaus/aio/PosixFdInput.hpp 2014-02-21 04:36:04.000000000 -0500 | |
+++ new/src/libmaus/aio/PosixFdInput.hpp 2014-04-14 12:21:04.000000000 -0400 | |
@@ -46,7 +46,10 @@ namespace libmaus | |
public: | |
static int getDefaultFlags() | |
{ | |
+ #ifndef __APPLE__ | |
return O_RDONLY|O_NOATIME|O_LARGEFILE; | |
+ #endif | |
+ return O_RDONLY | |
} | |
PosixFdInput(int const rfd) : fd(rfd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment