X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimboot.c;h=2d3ab08f8157c5df8a9f46c2e158a9fd8ce1e873;hp=beb4eab6baafbcdc07cf41b7c317b963e75230b6;hb=864db0e0929d60b33b8b0df35ccb68d43e7f8684;hpb=ca9d58ea6cecbfc445588aff2f1950bf3da4d444 diff --git a/src/wimboot.c b/src/wimboot.c index beb4eab6..2d3ab08f 100644 --- a/src/wimboot.c +++ b/src/wimboot.c @@ -29,14 +29,13 @@ * 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__ */