Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uposxfuse.pc contains -D__FreeBSD__=10 #17
Comments
This comment has been minimized.
This comment has been minimized.
|
In its current form the compiler flag
This is something we inherited from MacFUSE. Replacing the I have never used the python bindings myself, but maybe there is some workaround until this is fixed. You could try the Google group. MacFUSE should have the same issue since it misuses the |
This comment has been minimized.
This comment has been minimized.
|
I see. I'm not trying to say that the use of |
This comment has been minimized.
This comment has been minimized.
|
It is needed for the header files! What problems are you running into? |
This comment has been minimized.
This comment has been minimized.
|
The specific problem is compiling a C file which includes both fuse.h and python headers (this is the standard code to provide python access to fuse, in the fuse-python tarball from the fuse project). Due to So I can try undefining |
This comment has been minimized.
This comment has been minimized.
|
According to the googledocs-fs thread creating an empty osreldate.h works. (See http://blog.vucica.net/2010/11/some-tips-on-building-fuse-python-on-mac-os-x.html). But this might not be the workaround, you are looking for. |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
libosxfuse, OSXFUSE.framework and the kernel extension are using |
This causes wrong behavior in other code. In my case, the python fuse bindings try to include files present on FreeBSD but not on OS X because this is defined.
In 2.3.8:
Cflags: -I${includedir}/osxfuse/fuse -D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64