X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2Fecho-cpp.cpp;fp=examples%2Fecho-cpp.cpp;h=e6fd8f9f1c466d9ad16e6505d90868f3d500d04c;hb=bdf57c4e2c847d6916315dce207621838801630a;hp=e2d63f7d48d4507c085696a16d5e9b97ab96ec8e;hpb=852467e24e226d709e6ba8c687df23f333e2811f;p=catagits%2Ffcgi2.git diff --git a/examples/echo-cpp.cpp b/examples/echo-cpp.cpp index e2d63f7..e6fd8f9 100644 --- a/examples/echo-cpp.cpp +++ b/examples/echo-cpp.cpp @@ -1,7 +1,7 @@ /* * A simple FastCGI application example in C++. * - * $Id: echo-cpp.cpp,v 1.9 2002/02/24 20:08:09 robs Exp $ + * $Id: echo-cpp.cpp,v 1.10 2002/02/25 00:46:17 robs Exp $ * * Copyright (c) 2001 Rob Saccoccio and Chelsea Networks * All rights reserved. @@ -119,7 +119,7 @@ int main (void) fcgi_streambuf cout_fcgi_streambuf(request.out); fcgi_streambuf cerr_fcgi_streambuf(request.err); -#ifdef HAVE_IOSTREAM_WITHASSIGN_STREAMBUF +#if HAVE_IOSTREAM_WITHASSIGN_STREAMBUF cin = &cin_fcgi_streambuf; cout = &cout_fcgi_streambuf; cerr = &cerr_fcgi_streambuf; @@ -161,7 +161,7 @@ int main (void) // have to be flushed here. } -#ifdef HAVE_IOSTREAM_WITHASSIGN_STREAMBUF +#if HAVE_IOSTREAM_WITHASSIGN_STREAMBUF cin = cin_streambuf; cout = cout_streambuf; cerr = cerr_streambuf;