linux support.

git-svn-id: https://profuse.googlecode.com/svn/branches/v2@241 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
ksherlock 2010-05-20 22:31:48 +00:00
parent e7b4c96984
commit f530a9d748
1 changed files with 4 additions and 3 deletions

View File

@ -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);
}
}