]> wimlib.net Git - wimlib/commitdiff
Win32: skip dead code in symlink.c
authorEric Biggers <ebiggers3@gmail.com>
Fri, 22 Mar 2013 04:20:27 +0000 (23:20 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 22 Mar 2013 04:20:27 +0000 (23:20 -0500)
src/symlink.c

index 49f2053bc1a76d3b16437e5c4133f0be18cf4083..31d4e7c57a25d866c1a8e2fa2e40180fde310f3a 100644 (file)
 #include "sha1.h"
 #include <errno.h>
 
 #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.
  *
 /*
  * 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;
 }
        FREE(symlink_buf);
        return ret;
 }
+
+#endif /* !defined(__WIN32__) && !defined(WITH_FUSE) */