]> wimlib.net Git - wimlib/blobdiff - src/wimboot.c
Parse capture configuration file in library
[wimlib] / src / wimboot.c
index beb4eab6baafbcdc07cf41b7c317b963e75230b6..2d3ab08f8157c5df8a9f46c2e158a9fd8ce1e873 100644 (file)
  * along with wimlib; if not, see http://www.gnu.org/licenses/.
  */
 
-#ifndef __WIN32__
-#  error "This file contains Windows code!"
-#endif
 
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
 #endif
 
+#ifdef __WIN32__
+
 #include "wimlib/win32_common.h"
 #include "wimlib/win32.h"
 #include "wimlib/assert.h"
@@ -293,3 +292,5 @@ out_close_handle:
 out:
        return ret;
 }
+
+#endif /* __WIN32__ */