certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libCERTI tokens.ll


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI tokens.ll
Date: Fri, 16 Oct 2009 22:02:37 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      09/10/16 22:02:37

Modified files:
        libCERTI       : tokens.ll 

Log message:
        Merge in:
        patch #6950: Make certi compile with mingw bison/yacc and msvc

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/tokens.ll?cvsroot=certi&r1=3.5&r2=3.6

Patches:
Index: tokens.ll
===================================================================
RCS file: /sources/certi/certi/libCERTI/tokens.ll,v
retrieving revision 3.5
retrieving revision 3.6
diff -u -b -r3.5 -r3.6
--- tokens.ll   10 Dec 2007 21:38:47 -0000      3.5
+++ tokens.ll   16 Oct 2009 22:02:37 -0000      3.6
@@ -20,7 +20,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: tokens.ll,v 3.5 2007/12/10 21:38:47 erk Exp $
+// $Id: tokens.ll,v 3.6 2009/10/16 22:02:37 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include "syntax.h"
@@ -28,6 +28,15 @@
 #include <string>
 #include <iostream>
 
+// Help the mingw bison/yacc pair when building with msvc from msys
+#ifndef HAVE_UNISTD_H
+#define YY_NO_UNISTD_H 1
+#endif
+#ifdef WIN32
+#define isatty(fid) 0
+#endif
+
+
 using std::cout ;
 using std::endl ;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]