Skip to content

Instantly share code, notes, and snippets.

@roryk
Created April 14, 2014 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roryk/10662773 to your computer and use it in GitHub Desktop.
Save roryk/10662773 to your computer and use it in GitHub Desktop.
libmaus 0.0.104 OSX patch
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