aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/config.h
blob: f765c052578ac7d26d1fb09618fc4a62b5034c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef MASM_CONFIG_H
#define MASM_CONFIG_H

#include <wtf/Platform.h>
#ifdef __cplusplus
#include <wtf/Vector.h>
#include <wtf/FastAllocBase.h>
#include <wtf/RefPtr.h>
#include <cmath>

#ifdef _MSC_VER
#define snprintf _snprintf
#endif // _MSC_VER
#else // !__cplusplus

#include <math.h>

#ifdef _MSC_VER
#define inline
#include <stdio.h>
#endif // _MSC_VER

#endif // __cplusplus
#include <limits.h>

#endif // MASM_CONFIG_H