view final_isi/wrapper.h @ 71:a87eb778f225

Improvements to the MinGW crossbuild. Should now build with default tools from Debian mingw packages, though you need Win32 version of libSDL with the necessary headers and so on in addition. 64-bit builds not tested and probably won't work. Tested on Debian 7.0, earlier won't work. binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 14 Aug 2012 03:08:10 +0300
parents 53676367d46f
children e76a4e19363d
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>

#include "../pwplib/pwplib.h"

#define sqrt sqrt__
#define cprintf printf

#define DEBUG(a) fprintf(stderr,a "\n")

#define taimeri pwplib_timer()

/*extern inline int dummy(){}*/

/* taimeri => gettimer(); */

typedef unsigned char uchar;
typedef signed int sint;
#define uint unsigned int
typedef signed char schar;

/**/