Commit 2e9671da authored by ths's avatar ths
Browse files

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
parent eec85c2a
......@@ -44,6 +44,8 @@
#endif
#ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
#include <signal.h>
#include <sys/dkio.h>
#endif
#ifdef __linux__
......
......@@ -45,6 +45,10 @@
#define O_BINARY 0
#endif
#ifdef __sun__
#define ENOMEDIUM 4097
#endif
#ifdef _WIN32
#include <windows.h>
#define fsync _commit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment