1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

* GCC 2.95 compatibility.

This commit is contained in:
Eelco Dolstra 2003-12-22 16:40:46 +00:00
parent cf0287c09e
commit 833f2fc92d
6 changed files with 29 additions and 3 deletions

View file

@ -24,10 +24,13 @@
#include <sstream>
#include <cassert>
#if HAVE_LOCALE
#include <locale>
//#define BOOST_NO_STD_LOCALE
//#define BOOST_NO_LOCALE_ISIDIGIT
//#include <cctype>
#else
#define BOOST_NO_STD_LOCALE
#define BOOST_NO_LOCALE_ISIDIGIT
#include <cctype>
#endif
#include <boost/format/macros_default.hpp>

View file

@ -1,3 +1,4 @@
#include <iostream>
#include <cctype>
@ -71,7 +72,9 @@ int main(int argc, char * * argv)
ATinit(argc, argv, &bottomOfStack);
/* Turn on buffering for cerr. */
#if HAVE_PUBSETBUF
cerr.rdbuf()->pubsetbuf(buf, sizeof(buf));
#endif
try {
initAndRun(argc, argv);

View file

@ -1,4 +1,5 @@
#include <iostream>
#include <cstdio>
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -1,4 +1,5 @@
#include <iostream>
#include <algorithm>
#include <sys/wait.h>
#include <unistd.h>

View file

@ -1,3 +1,5 @@
#include <cerrno>
#include "globals.hh"
#include "normalise.hh"
#include "shared.hh"