#include <string.h>
#include <stdint.h>
#include <assert.h>
+#ifdef WIN32
+#include <malloc.h>
+#else
#include <alloca.h>
+#endif
#include "image.h"
struct rect {
/* 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"