Added naive snprintf support.
This commit is contained in:
parent
2add546d00
commit
a7e73d030a
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* @(#)$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__
|
#ifndef __6502DEF_H__
|
||||||
|
@ -54,6 +54,9 @@ typedef int32_t s32_t;
|
||||||
#define CCIF
|
#define CCIF
|
||||||
#define CLIF
|
#define CLIF
|
||||||
|
|
||||||
|
#define HAVE_SNPRINTF
|
||||||
|
#define snprintf(buf, len, ...) sprintf(buf, __VA_ARGS__)
|
||||||
|
|
||||||
#define CLOCK_CONF_SECOND 2
|
#define CLOCK_CONF_SECOND 2
|
||||||
typedef unsigned short clock_time_t;
|
typedef unsigned short clock_time_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue