Fixed warning related to disabledTrace().

This commit is contained in:
kobalicek
2014-09-29 23:09:08 +02:00
parent fd0972d9c6
commit 1318c9aff7

View File

@@ -263,7 +263,7 @@
// ASMJIT_TRACE is only used by sources and private headers. It's safe to make // ASMJIT_TRACE is only used by sources and private headers. It's safe to make
// it unavailable outside of AsmJit. // it unavailable outside of AsmJit.
#if defined(ASMJIT_EXPORTS) #if defined(ASMJIT_EXPORTS)
namespace asmjit { static inline int disabledTrace(...) {} } namespace asmjit { static inline int disabledTrace(...) { return 0; } }
# if defined(ASMJIT_TRACE) # if defined(ASMJIT_TRACE)
# define ASMJIT_TSEC(_Section_) _Section_ # define ASMJIT_TSEC(_Section_) _Section_
# define ASMJIT_TLOG ::printf(__VA_ARGS__) # define ASMJIT_TLOG ::printf(__VA_ARGS__)