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:
Anthony Minessale
2006-12-19 01:02:17 +00:00
parent 775d63211b
commit b7af6d4def
14 changed files with 4483 additions and 4638 deletions

View File

@@ -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

View File

@@ -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