| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef MASM_CONFIG_H |
| 5 | #define MASM_CONFIG_H |
| 6 | |
| 7 | #include <wtf/Platform.h> |
| 8 | #ifdef __cplusplus |
| 9 | #include <wtf/Vector.h> |
| 10 | #include <wtf/FastAllocBase.h> |
| 11 | #include <wtf/RefPtr.h> |
| 12 | #include <cmath> |
| 13 | |
| 14 | #ifdef _MSC_VER |
| 15 | #define snprintf _snprintf |
| 16 | #endif // _MSC_VER |
| 17 | #else // !__cplusplus |
| 18 | |
| 19 | #include <math.h> |
| 20 | |
| 21 | #ifdef _MSC_VER |
| 22 | #define inline |
| 23 | #include <stdio.h> |
| 24 | #endif // _MSC_VER |
| 25 | |
| 26 | #endif // __cplusplus |
| 27 | #include <limits.h> |
| 28 | |
| 29 | #endif // MASM_CONFIG_H |
| 30 | |