diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-28 15:48:31 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-28 15:48:31 -0500 |
commit | 4c955388572068c57bb8cd205b61fa5dfa1a84f1 (patch) | |
tree | 81f5cdb23c6a86a14ced226cc6c573bf3483e70e | |
parent | 6e489f3f88f6f50f5e7d9c94e36e153741453581 (diff) |
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>
-rw-r--r-- | qemu-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-common.h b/qemu-common.h index 5d7ffebcd7..c1fb5bf608 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -38,7 +38,7 @@ #ifndef ENOMEDIUM #define ENOMEDIUM ENODEV #endif -#if !defined(ENOTSUP) && defined(__OpenBSD__) +#if !defined(ENOTSUP) #define ENOTSUP 4096 #endif |