mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
add sipcc to tree for sdp parser
This commit is contained in:
1 parent
36f89c8b7c
commit
0f00946782
369 files changed
+183596
No files matched your search
@@ -0,0 +1,39 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef _CPR_ASSERT_H_
|
||||
#define _CPR_ASSERT_H_
|
||||
|
||||
#include "cpr_types.h"
|
||||
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
||||
#define __CPRSTRING(x) #x
|
||||
|
||||
extern void __cprAssert(const char *str, const char *file, int line);
|
||||
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
#if defined SIP_OS_LINUX
|
||||
#include "../linux/cpr_linux_assert.h"
|
||||
#elif defined SIP_OS_WINDOWS
|
||||
#include "../win32/cpr_win_assert.h"
|
||||
#elif defined SIP_OS_OSX
|
||||
#include "../darwin/cpr_darwin_assert.h"
|
||||
#endif
|
||||
|
||||
#endif /* _CPR_ASSERT_H_ */
|
||||
|
||||
/*
|
||||
* This is outside the scope of the standard #ifdef <=> #endif header
|
||||
* file to allow a per-file definition. By default, cprAssert is not
|
||||
* enabled.
|
||||
*/
|
||||
#undef cprAssert
|
||||
#define cprAssert(expr, rc)
|
||||
|
||||
Reference in new issue
Block a user