Browse Source

Do something with WARN/ERR in release builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0.0
falkTX 4 years ago
parent
commit
e9a255bd5d
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      asio.c

+ 2
- 4
asio.c View File

@@ -36,11 +36,9 @@
#ifdef DEBUG
#include "wine/debug.h"
#else
// FIXME convert MESSAGE, WARN and ERR into proper macros with fprintf
#define TRACE(...) {}
#define MESSAGE(...) {}
#define WARN(...) {}
#define ERR(...) {}
#define WARN(fmt, ...) {} fprintf(stdout, fmt, ##__VA_ARGS__)
#define ERR(fmt, ...) {} fprintf(stderr, fmt, ##__VA_ARGS__)
#endif

#include "objbase.h"


Loading…
Cancel
Save