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