Browse Source

just warn, don't exit on Cygwin

Waldemar Brodkorb 13 năm trước cách đây
mục cha
commit
3e60fb80b7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 }