mirror of
https://github.com/cc65/cc65.git
synced 2024-06-18 07:29:36 +00:00
following hack on head
This commit is contained in:
parent
40a52c2656
commit
9c90d38ccc
|
@ -68,13 +68,21 @@
|
|||
#include "util.h"
|
||||
#include "codegen.h"
|
||||
|
||||
/* this is a terrible hack that tries to combat the ever reoccuring issue with
|
||||
mingw and PRIXPTR */
|
||||
/* This is a terrible hack that tries to combat the ever reoccuring issue with
|
||||
Mingw and PRIXPTR - the macro should have been defined like this for us in
|
||||
the first place.
|
||||
NOTE: "I64u" works in the github actions now, so if your local mingw64 fails,
|
||||
you probably have to update.
|
||||
*/
|
||||
#if defined(__MINGW64__)
|
||||
#undef PRIXPTR
|
||||
#define PRIXPTR "zu"
|
||||
#define PRIXPTR "I64u"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Helpers */
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifdef DEBUG
|
||||
#define LOG(x) printf x
|
||||
#define FIXME(x) printf x
|
||||
|
@ -85,10 +93,6 @@
|
|||
#define ASMLOG(x)
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Helpers */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
static void _typeerror (char *func, int line, unsigned type)
|
||||
|
|
Loading…
Reference in New Issue
Block a user