mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-21 15:29:00 +00:00
Added naive snprintf support.
This commit is contained in:
parent
2add546d00
commit
a7e73d030a
@ -30,7 +30,7 @@
|
||||
*
|
||||
* 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__
|
||||
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user