Loading include/ap_config.h +5 −2 Original line number Diff line number Diff line Loading @@ -211,11 +211,14 @@ #define AP_HAVE_RELIABLE_PIPED_LOGS TRUE #endif #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define AP_HAVE_C99 #endif /* Presume that the compiler supports C99-style designated * initializers if using GCC (but not G++), or for any other compiler * which claims C99 support. */ #if (defined(__GNUC__) && !defined(__cplusplus)) \ || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) #if (defined(__GNUC__) && !defined(__cplusplus)) || defined(AP_HAVE_C99) #define AP_HAVE_DESIGNATED_INITIALIZER #endif Loading include/http_log.h +5 −5 Original line number Diff line number Diff line Loading @@ -358,7 +358,7 @@ AP_DECLARE(void) ap_log_error(const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_error(...) ap_log_error__(__VA_ARGS__) /* need server_rec *sr = ... for the case if s is verbatim NULL */ Loading Loading @@ -401,7 +401,7 @@ AP_DECLARE(void) ap_log_perror(const char *file, int line, int module_index, int level, apr_status_t status, apr_pool_t *p, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L && defined(APLOG_MAX_LOGLEVEL) #if defined(AP_HAVE_C99) && defined(APLOG_MAX_LOGLEVEL) /* need additional step to expand APLOG_MARK first */ #define ap_log_perror(...) ap_log_perror__(__VA_ARGS__) #define ap_log_perror__(file, line, mi, level, status, p, ...) \ Loading Loading @@ -443,7 +443,7 @@ AP_DECLARE(void) ap_log_rerror(const char *file, int line, int module_index, int level, apr_status_t status, const request_rec *r, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__) #define ap_log_rerror__(file, line, mi, level, status, r, ...) \ Loading Loading @@ -487,7 +487,7 @@ AP_DECLARE(void) ap_log_cerror(const char *file, int line, int module_index, int level, apr_status_t status, const conn_rec *c, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_cerror(...) ap_log_cerror__(__VA_ARGS__) #define ap_log_cerror__(file, line, mi, level, status, c, ...) \ Loading Loading @@ -534,7 +534,7 @@ AP_DECLARE(void) ap_log_cserror(const char *file, int line, int module_index, const conn_rec *c, const server_rec *s, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_cserror(...) ap_log_cserror__(__VA_ARGS__) #define ap_log_cserror__(file, line, mi, level, status, c, s, ...) \ Loading Loading
include/ap_config.h +5 −2 Original line number Diff line number Diff line Loading @@ -211,11 +211,14 @@ #define AP_HAVE_RELIABLE_PIPED_LOGS TRUE #endif #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define AP_HAVE_C99 #endif /* Presume that the compiler supports C99-style designated * initializers if using GCC (but not G++), or for any other compiler * which claims C99 support. */ #if (defined(__GNUC__) && !defined(__cplusplus)) \ || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) #if (defined(__GNUC__) && !defined(__cplusplus)) || defined(AP_HAVE_C99) #define AP_HAVE_DESIGNATED_INITIALIZER #endif Loading
include/http_log.h +5 −5 Original line number Diff line number Diff line Loading @@ -358,7 +358,7 @@ AP_DECLARE(void) ap_log_error(const char *file, int line, int module_index, int level, apr_status_t status, const server_rec *s, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_error(...) ap_log_error__(__VA_ARGS__) /* need server_rec *sr = ... for the case if s is verbatim NULL */ Loading Loading @@ -401,7 +401,7 @@ AP_DECLARE(void) ap_log_perror(const char *file, int line, int module_index, int level, apr_status_t status, apr_pool_t *p, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L && defined(APLOG_MAX_LOGLEVEL) #if defined(AP_HAVE_C99) && defined(APLOG_MAX_LOGLEVEL) /* need additional step to expand APLOG_MARK first */ #define ap_log_perror(...) ap_log_perror__(__VA_ARGS__) #define ap_log_perror__(file, line, mi, level, status, p, ...) \ Loading Loading @@ -443,7 +443,7 @@ AP_DECLARE(void) ap_log_rerror(const char *file, int line, int module_index, int level, apr_status_t status, const request_rec *r, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__) #define ap_log_rerror__(file, line, mi, level, status, r, ...) \ Loading Loading @@ -487,7 +487,7 @@ AP_DECLARE(void) ap_log_cerror(const char *file, int line, int module_index, int level, apr_status_t status, const conn_rec *c, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_cerror(...) ap_log_cerror__(__VA_ARGS__) #define ap_log_cerror__(file, line, mi, level, status, c, ...) \ Loading Loading @@ -534,7 +534,7 @@ AP_DECLARE(void) ap_log_cserror(const char *file, int line, int module_index, const conn_rec *c, const server_rec *s, const char *fmt, ...); #else #if __STDC_VERSION__ >= 199901L #ifdef AP_HAVE_C99 /* need additional step to expand APLOG_MARK first */ #define ap_log_cserror(...) ap_log_cserror__(__VA_ARGS__) #define ap_log_cserror__(file, line, mi, level, status, c, s, ...) \ Loading