blob: a398770ae757d7e4668aec77670829c9dee95d1b [file] [log] [blame]
Benny Prijono4766ffe2005-11-01 17:56:59 +00001/* $Id$
2 *
3 */
Benny Prijonodd859a62005-11-01 16:42:51 +00004/* $Log: /pjproject-0.3/pjlib/include/pj/compat/sprintf.h $
5 *
6 * 2 10/14/05 12:26a Bennylp
7 * Finished error code framework, some fixes in ioqueue, etc. Pretty
8 * major.
9 *
10 * 1 9/17/05 10:36a Bennylp
11 * Created.
12 *
13 */
14#ifndef __PJ_COMPAT_SPRINTF_H__
15#define __PJ_COMPAT_SPRINTF_H__
16
17/**
18 * @file sprintf.h
19 * @brief Provides sprintf() and snprintf() functions.
20 */
21
22#if defined(PJ_HAS_STDIO_H) && PJ_HAS_STDIO_H != 0
23# include <stdio.h>
24#endif
25
26#if defined(_MSC_VER)
27# define snprintf _snprintf
28#endif
29
30#define pj_sprintf sprintf
31#define pj_snprintf snprintf
32
33#endif /* __PJ_COMPAT_SPRINTF_H__ */