//
// Provides support for FastCGI via C++ iostreams.\r
//\r
-// $Id: fcgio.h,v 1.6 2001/11/20 02:29:38 robs Exp $
+// $Id: fcgio.h,v 1.7 2001/11/20 03:24:18 robs Exp $
//
// This work is based on routines written by George Feinberg. They
// have been mostly re-written and extensively changed by
#include "fcgiapp.h"
+#ifndef DLLAPI
+#ifdef _WIN32
+#define DLLAPI __declspec(dllimport)
+#else
+#define DLLAPI
+#endif
+#endif
+
/*
* fcgi_streambuf
*/
//
-// $Id: fcgio.cpp,v 1.6 2001/11/20 02:29:39 robs Exp $
+// $Id: fcgio.cpp,v 1.7 2001/11/20 03:24:19 robs Exp $
//
// Allows you communicate with FastCGI streams using C++ iostreams
//
// implied; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
-#define DLLAPI __declspec(dllexport)\r
+#ifdef _WIN32
+#define DLLAPI __declspec(dllexport)
+#endif
+
#include "fcgio.h"
fcgi_streambuf::fcgi_streambuf(FCGX_Stream * strm)