Selaa lähdekoodia

just warn, don't exit on Cygwin

Waldemar Brodkorb 13 vuotta sitten
vanhempi
commit
3e60fb80b7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tools/adk/dkgetsz.c

+ 1 - 1
tools/adk/dkgetsz.c

@@ -90,6 +90,6 @@ numsecs(int fd)
 		err(1, "ioctl DIOCGDINFO");
 	return ((unsigned long long)dl.d_secperunit);
 #else
-#error PLEASE DO IMPLEMENT numsecs FOR THIS PLATFORM.
+#warning PLEASE DO IMPLEMENT numsecs FOR THIS PLATFORM.
 #endif
 }