diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-03-03 13:39:48 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 14:07:04 +0100 |
commit | 0fe950d1c05a633e737a0dab3d91d33fe0994141 (patch) | |
tree | 23a82b3cb1210c9e9d0ebf9083396083d93271d7 /src/3rdparty/masm/config.h | |
parent | 151f750638d605ef19c62b2714d80e7780bfce8f (diff) |
V4 JIT: enable disassembler on windows.
Change-Id: I55a2a96a1a774c79cc2146c6b47d441fede1d102
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty/masm/config.h')
-rw-r--r-- | src/3rdparty/masm/config.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/3rdparty/masm/config.h b/src/3rdparty/masm/config.h index 80d4d4d8db..18bb9ed61a 100644 --- a/src/3rdparty/masm/config.h +++ b/src/3rdparty/masm/config.h @@ -48,9 +48,20 @@ #include <wtf/FastAllocBase.h> #include <wtf/RefPtr.h> #include <cmath> -#else + +#ifdef _MSC_VER +#define snprintf _snprintf +#endif // _MSC_VER +#else // !__cplusplus + #include <math.h> -#endif + +#ifdef _MSC_VER +#define inline +#include <stdio.h> +#endif // _MSC_VER + +#endif // __cplusplus #include <limits.h> #endif // MASM_CONFIG_H |