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 commits
Subject: [certi-cvs] certi/libCERTI tokens.ll
Date: Sun, 22 Jul 2012 12:39:53 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      12/07/22 12:39:53

Modified files:
        libCERTI       : tokens.ll 

Log message:
        Fix compilation with gcc 4.7.x (isatty undefined)

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

Patches:
Index: tokens.ll
===================================================================
RCS file: /sources/certi/certi/libCERTI/tokens.ll,v
retrieving revision 3.10
retrieving revision 3.11
diff -u -b -r3.10 -r3.11
--- tokens.ll   18 Dec 2011 15:26:16 -0000      3.10
+++ tokens.ll   22 Jul 2012 12:39:53 -0000      3.11
@@ -20,17 +20,21 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: tokens.ll,v 3.10 2011/12/18 15:26:16 erk Exp $
+// $Id: tokens.ll,v 3.11 2012/07/22 12:39:53 erk Exp $
 // ----------------------------------------------------------------------------
 
+#include "config.h"
 #include "syntax.h"
 #include "certi.hh"
 #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
+#else
+#include <unistd.h>
 #endif
 #ifdef _WIN32
 #define isatty(fid) 0



reply via email to

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