mirror of https://github.com/vitalif/openscad
compile fixes for parser and lexer under MSVC
parent
18a303ac5b
commit
4ac3af2f92
|
@ -32,6 +32,13 @@
|
|||
#include <QStack>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
//isatty for visual c++
|
||||
#ifdef _MSC_VER
|
||||
int __cdecl _isatty(int _FileHandle);
|
||||
#define isatty _isatty
|
||||
#endif
|
||||
|
||||
QString* stringcontents;
|
||||
int lexerget_lineno(void);
|
||||
#ifdef __GNUC__
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "module.h"
|
||||
#include "expression.h"
|
||||
|
|
Loading…
Reference in New Issue