mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
eec85c2a0d
commit
2e9671daee
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,8 @@
|
|||
#endif
|
||||
|
||||
#ifdef __sun__
|
||||
#define _POSIX_PTHREAD_SEMANTICS 1
|
||||
#include <signal.h>
|
||||
#include <sys/dkio.h>
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
|
|
4
vl.h
4
vl.h
|
@ -45,6 +45,10 @@
|
|||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
#ifdef __sun__
|
||||
#define ENOMEDIUM 4097
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#define fsync _commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue