Commit 4c955388572068c57bb8cd205b61fa5dfa1a84f1

Authored by Anthony Liguori
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 38 #ifndef ENOMEDIUM
39 39 #define ENOMEDIUM ENODEV
40 40 #endif
41   -#if !defined(ENOTSUP) && defined(__OpenBSD__)
  41 +#if !defined(ENOTSUP)
42 42 #define ENOTSUP 4096
43 43 #endif
44 44  
... ...