Bug 1750884 - Add style_traits::ToCss for AtomIdent r=emilio
[gecko.git] / third_party / sipcc / sdp_os_defs.h
blob16c9b333290e13ff8938bcb306b7d9a424fad378
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef _SDP_OS_DEFS_H_
6 #define _SDP_OS_DEFS_H_
8 #include <stdlib.h>
10 #include "cpr_types.h"
11 #include "cpr_string.h"
14 #define SDP_PRINT(format, ...) SDPLogError("sdp" , format , ## __VA_ARGS__ )
16 /* Use operating system malloc */
17 #define SDP_MALLOC(x) calloc(1, (x))
18 #define SDP_FREE free
20 typedef uint8_t tinybool;
21 typedef unsigned short ushort;
22 typedef unsigned long ulong;
23 #ifndef __GNUC_STDC_INLINE__
24 #define inline
25 #endif
27 #endif /* _SDP_OS_DEFS_H_ */