mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -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
|
#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
4
vl.h
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue