Parcourir la source

just warn, don't exit on Cygwin

Waldemar Brodkorb il y a 13 ans
Parent
commit
3e60fb80b7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
 }