diff --git a/cpu/6502/6502def.h b/cpu/6502/6502def.h index 24d9530cf..5c7bc03ab 100644 --- a/cpu/6502/6502def.h +++ b/cpu/6502/6502def.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * @(#)$Id: 6502def.h,v 1.9 2008/01/01 19:47:03 oliverschmidt Exp $ + * @(#)$Id: 6502def.h,v 1.10 2008/02/16 08:56:29 oliverschmidt Exp $ */ #ifndef __6502DEF_H__ @@ -54,6 +54,9 @@ typedef int32_t s32_t; #define CCIF #define CLIF +#define HAVE_SNPRINTF +#define snprintf(buf, len, ...) sprintf(buf, __VA_ARGS__) + #define CLOCK_CONF_SECOND 2 typedef unsigned short clock_time_t;