forked from qt-creator/qt-creator
Build fix on windows
This commit is contained in:
@@ -56,6 +56,10 @@
|
|||||||
#include "QtContextKeywords.h"
|
#include "QtContextKeywords.h"
|
||||||
#include <cstdio> // for putchar
|
#include <cstdio> // for putchar
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
# define va_copy(dst, src) ((dst) = (src))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CPLUSPLUS_NO_DEBUG_RULE
|
#define CPLUSPLUS_NO_DEBUG_RULE
|
||||||
#define MAX_EXPRESSION_DEPTH 100
|
#define MAX_EXPRESSION_DEPTH 100
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,10 @@
|
|||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
# define va_copy(dst, src) ((dst) = (src))
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace CPlusPlus;
|
using namespace CPlusPlus;
|
||||||
|
|
||||||
TranslationUnit::TranslationUnit(Control *control, const StringLiteral *fileId)
|
TranslationUnit::TranslationUnit(Control *control, const StringLiteral *fileId)
|
||||||
|
|||||||
Reference in New Issue
Block a user