Browse Source

just warn, don't exit on Cygwin

Waldemar Brodkorb 13 years ago
parent
commit
3e60fb80b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/adk/dkgetsz.c

+ 1 - 1
tools/adk/dkgetsz.c

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