summaryrefslogtreecommitdiff
path: root/src/lexer.l
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-04-12 15:51:45 (GMT)
committerMarius Kintel <marius@kintel.net>2011-04-12 15:51:45 (GMT)
commit1754a970a76c071fff91cc7c716aa0b78b4ac6be (patch)
tree5faa0fad3b5324423cd44413d5fdd16c586c1e29 /src/lexer.l
parent592ca6abadcb6443629be4407b973279a891278c (diff)
parenta3cfe9e6d76f41cbd13711d1bc3843afe3d14f2d (diff)
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'src/lexer.l')
-rw-r--r--src/lexer.l12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lexer.l b/src/lexer.l
index 932711b..0da3f5d 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -1,6 +1,7 @@
/*
- * OpenSCAD (www.openscad.at)
- * Copyright (C) 2009 Clifford Wolf <clifford@clifford.at>
+ * OpenSCAD (www.openscad.org)
+ * Copyright (C) 2009-2011 Clifford Wolf <clifford@clifford.at> and
+ * Marius Kintel <marius@kintel.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,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__
contact: Jan Huwald // Impressum