X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=tools%2Fcsprite%2Fsrc%2Fmain.c;h=c549b3ea65058b40272194958e0b3b876363999d;hb=3f4019dfbeea0b5e3b0bc657f1bad6bc2b53dd42;hp=039a0eb72d4b5a5e8a9ee897d27bf8bc94327f22;hpb=b49854e0980a030cc8338a7f4ee779ecde1aae38;p=dosdemo diff --git a/tools/csprite/src/main.c b/tools/csprite/src/main.c index 039a0eb..c549b3e 100644 --- a/tools/csprite/src/main.c +++ b/tools/csprite/src/main.c @@ -3,7 +3,11 @@ #include #include #include +#ifdef WIN32 +#include +#else #include +#endif #include "image.h" struct rect { @@ -144,7 +148,7 @@ const char *prefixfmt[] = { /* TODO hardcoding the 16bpp changes for now, generalize later * and while we're at it, let's get rid of the mul too ... */ - "\tsection .text\n" + "\tsection .text USE32\n" "\tglobal %s\n" "\tglobal _%s\n" "\tglobal %s_\n"