Skip to content

Commit

Permalink
Fix release compilation (thanks to @nkrapivin)
Browse files Browse the repository at this point in the history
  • Loading branch information
xerpi committed Jul 24, 2018
1 parent 5907150 commit d5a03b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skprx/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ void log_flush();
} while (0)
#else

static inline void log_reset() {}
static inline void log_write(const char *buffer, size_t length) {}
static inline void log_flush() {}

#define LOG(...) (void)0

#endif
Expand Down

0 comments on commit d5a03b2

Please sign in to comment.