Define ENOTSUP anywhere it isn't defined
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 28 Jul 2009 20:48:31 +0000 (15:48 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 28 Jul 2009 20:48:31 +0000 (15:48 -0500)
I confused ENOTSUP with ENOTSUPP.  Juan's original patch was correct.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-common.h

index 5d7ffeb..c1fb5bf 100644 (file)
@@ -38,7 +38,7 @@
 #ifndef ENOMEDIUM
 #define ENOMEDIUM ENODEV
 #endif
-#if !defined(ENOTSUP) && defined(__OpenBSD__)
+#if !defined(ENOTSUP)
 #define ENOTSUP 4096
 #endif