diff options
Diffstat (limited to 'src/log.h')
| -rw-r--r-- | src/log.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ #ifndef LOG_H #define LOG_H +#include "config.h" + #define LOG_LEVEL_DEBUG 0 #define LOG_LEVEL_INFO 1 #define LOG_LEVEL_WARNING 2 @@ -11,7 +13,7 @@ #else #include <stdio.h> #include <string.h> -static inline const char *log_basename(const char *s) +static MQTT_INLINE const char *log_basename(const char *s) { #if !defined(_WIN32) const char *p = strrchr(s, '/'); |
