Commit 4c955388572068c57bb8cd205b61fa5dfa1a84f1
1 parent
6e489f3f
Define ENOTSUP anywhere it isn't defined
I confused ENOTSUP with ENOTSUPP. Juan's original patch was correct. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
1 additions
and
1 deletions
qemu-common.h
@@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
38 | #ifndef ENOMEDIUM | 38 | #ifndef ENOMEDIUM |
39 | #define ENOMEDIUM ENODEV | 39 | #define ENOMEDIUM ENODEV |
40 | #endif | 40 | #endif |
41 | -#if !defined(ENOTSUP) && defined(__OpenBSD__) | 41 | +#if !defined(ENOTSUP) |
42 | #define ENOTSUP 4096 | 42 | #define ENOTSUP 4096 |
43 | #endif | 43 | #endif |
44 | 44 |