mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
hmm i wonder why i was so against fucking with the build system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3710 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -97,9 +97,6 @@
|
||||
/* Little Endian */
|
||||
#undef __BYTE_ORDER
|
||||
|
||||
/* define it the right way ;) */
|
||||
#undef __FUNCTION__
|
||||
|
||||
/* for the places where it is not defined */
|
||||
#undef __LITTLE_ENDIAN
|
||||
|
||||
|
@@ -37,6 +37,13 @@
|
||||
\ingroup LIBDINGALING
|
||||
\{
|
||||
*/
|
||||
/* OMG */
|
||||
#ifdef WIN32
|
||||
#define __LDL_FUNC__ __FUNCTION__
|
||||
#else
|
||||
#define __LDL_FUNC__ (const char *)__func__
|
||||
#endif
|
||||
|
||||
#ifndef LIBDINGALING_H
|
||||
#define LIBDINGALING_H
|
||||
#ifdef __cplusplus
|
||||
@@ -154,7 +161,7 @@ typedef enum {
|
||||
LDL_DESCRIPTION_ACCEPT
|
||||
} ldl_description_t;
|
||||
|
||||
#define DL_PRE __FILE__, __FUNCTION__, __LINE__
|
||||
#define DL_PRE __FILE__, __LDL_FUNC__, __LINE__
|
||||
#define DL_LOG_DEBUG DL_PRE, 7
|
||||
#define DL_LOG_INFO DL_PRE, 6
|
||||
#define DL_LOG_NOTICE DL_PRE, 5
|
||||
|
Reference in New Issue
Block a user