patch for block-raw.c for Solaris, by Ben Taylor.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2294 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-01-05 17:44:41 +00:00
parent eec85c2a0d
commit 2e9671daee
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,8 @@
#endif #endif
#ifdef __sun__ #ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
#include <signal.h>
#include <sys/dkio.h> #include <sys/dkio.h>
#endif #endif
#ifdef __linux__ #ifdef __linux__

4
vl.h
View File

@ -45,6 +45,10 @@
#define O_BINARY 0 #define O_BINARY 0
#endif #endif
#ifdef __sun__
#define ENOMEDIUM 4097
#endif
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#define fsync _commit #define fsync _commit