Added DEBUG management

This commit is contained in:
fabio.olimpieri 2014-05-16 13:33:30 +00:00
parent e750787dc0
commit 87dda5fed6

View File

@ -22,6 +22,15 @@
#include "computer.h" #include "computer.h"
#include "emulator.h" #include "emulator.h"
#ifdef DEBUG
extern FILE *fdebug;
#define printf(...) fprintf(fdebug,__VA_ARGS__)
#else
#ifdef GEKKO
#define printf(...)
#endif
#endif
int allophone_lenght[ALLOPHONES]; int allophone_lenght[ALLOPHONES];
signed char *allophone_buffer[ALLOPHONES]; signed char *allophone_buffer[ALLOPHONES];