]> wimlib.net Git - wimlib/blobdiff - src/mount_image.c
util.h: Use dummy_printf for DEBUG() and DEBUG2()
[wimlib] / src / mount_image.c
index b9e900bca93ee5f2dace39df29306e97421913ab..839acbc86f51947378fcbd3aa0ec9884bf1755e9 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 /*
- * Copyright (C) 2012, 2013 Biggers
+ * Copyright (C) 2012, 2013 Eric Biggers
  *
  * This file is part of wimlib, a library for working with WIM files.
  *
@@ -2625,8 +2625,12 @@ out:
 
 static inline int mount_unsupported_error()
 {
+#if defined(__CYGWIN__) || defined (__WIN32__)
+       ERROR("Sorry-- Mounting WIM images is not supported on Windows!");
+#else
        ERROR("wimlib was compiled with --without-fuse, which disables support "
              "for mounting WIMs.");
+#endif
        return WIMLIB_ERR_UNSUPPORTED;
 }