Porting Done for CentOS

This commit is contained in:
Lee Sukchan
2017-09-29 12:22:03 +00:00
parent 1cd496f158
commit 22ec19066b
5 changed files with 12 additions and 29 deletions

View File

@@ -39,10 +39,6 @@ extern int g_trace_mask;
CORE_DECLARE(int) d_msg(int tp, int lv, c_time_t t, char *fn, int ln,
char *fmt, ...);
/* if C99 supported */
#if (defined _ISOC99_SOURCE || defined _ISOC9X_SOURCE \
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L))
/**
* Use for printing message. This always print out the message.
*/
@@ -142,21 +138,6 @@ CORE_DECLARE(int) d_msg(int tp, int lv, c_time_t t, char *fn, int ln,
expr; \
}
#else /* C99 */
#define d_print
#define d_trace
#define d_info
#define d_warn
#define d_error
#define d_fatal
#define d_assert
#endif /* C99 */
void d_msg_init();
void d_msg_final();