Commit 6c3675cac3934e79145fd025b8489c38ede588d3

Authored by ths
1 parent 71c2fd5c

ENODEV works also for __sun__, the magic number 4097 stemmed from the

windows support.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2358 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 3 deletions
@@ -45,9 +45,6 @@ @@ -45,9 +45,6 @@
45 #define O_BINARY 0 45 #define O_BINARY 0
46 #endif 46 #endif
47 47
48 -#ifdef __sun__  
49 -#define ENOMEDIUM 4097  
50 -#endif  
51 #ifndef ENOMEDIUM 48 #ifndef ENOMEDIUM
52 #define ENOMEDIUM ENODEV 49 #define ENOMEDIUM ENODEV
53 #endif 50 #endif