mirror of
https://github.com/ksherlock/profuse.git
synced 2024-06-04 23:29:27 +00:00
linux support.
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@241 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
e7b4c96984
commit
f530a9d748
|
@ -12,7 +12,7 @@
|
|||
#include <sys/disk.h>
|
||||
#endif
|
||||
|
||||
#ifdef __LINUX__
|
||||
#ifdef __linux__
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
|
||||
|
@ -71,7 +71,7 @@ void RawDevice::devSize(int fd)
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef __LINUX__
|
||||
#ifdef __linux__
|
||||
|
||||
void RawDevice::devSize(int fd)
|
||||
{
|
||||
|
@ -262,4 +262,5 @@ void RawDevice::sync()
|
|||
|
||||
if (::fsync(_file.fd()) < 0)
|
||||
throw POSIXException(__METHOD__ ": fsync error.", errno);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user