]> wimlib.net Git - wimlib/blobdiff - src/symlink.c
Win32: skip dead code in symlink.c
[wimlib] / src / symlink.c
index 49f2053bc1a76d3b16437e5c4133f0be18cf4083..31d4e7c57a25d866c1a8e2fa2e40180fde310f3a 100644 (file)
 #include "sha1.h"
 #include <errno.h>
 
+/* None of this file is ever needed in Win32 builds because the reparse point
+ * buffers are not parsed. */
+#if !defined(__WIN32__) && !defined(WITH_FUSE)
+
 /*
  * Find the symlink target of a symbolic link or junction point in the WIM.
  *
@@ -266,3 +270,5 @@ out_free_symlink_buf:
        FREE(symlink_buf);
        return ret;
 }
+
+#endif /* !defined(__WIN32__) && !defined(WITH_FUSE) */