X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Ffcgi_stdio.h;h=de2af89bedb37973457c1179f32754f6835d4280;hb=156d83a0ecafc52a02833e7f38faf7e683c5c098;hp=ae9243a40aff812269e768e5a1c690f2c8c2faf5;hpb=0198fd3ca83ad0dbdb1c3bfb967d1843a7d02296;p=catagits%2Ffcgi2.git diff --git a/include/fcgi_stdio.h b/include/fcgi_stdio.h index ae9243a..de2af89 100644 --- a/include/fcgi_stdio.h +++ b/include/fcgi_stdio.h @@ -9,7 +9,7 @@ * See the file "LICENSE.TERMS" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * $Id: fcgi_stdio.h,v 1.1 1997/09/16 15:36:32 stanleyg Exp $ + * $Id: fcgi_stdio.h,v 1.5 2001/06/22 13:21:15 robs Exp $ */ #ifndef _FCGI_STDIO @@ -23,13 +23,13 @@ extern "C" { #endif -#ifdef _WIN32 #ifndef DLLAPI +#ifdef _WIN32 #define DLLAPI __declspec(dllimport) -#endif #else #define DLLAPI #endif +#endif /* * Wrapper type for FILE @@ -118,6 +118,8 @@ DLLAPI int FCGI_feof(FCGI_FILE *fp); DLLAPI int FCGI_ferror(FCGI_FILE *fp); DLLAPI void FCGI_clearerr(FCGI_FILE *fp); +DLLAPI FCGI_FILE *FCGI_tmpfile(void); + DLLAPI int FCGI_fileno(FCGI_FILE *fp); DLLAPI FCGI_FILE *FCGI_fdopen(int fd, const char *mode); DLLAPI FCGI_FILE *FCGI_popen(const char *cmd, const char *type); @@ -221,6 +223,9 @@ DLLAPI int FCGI_pclose(FCGI_FILE *); #undef clearerr #define clearerr FCGI_clearerr +#undef tmpfile +#define tmpfile FCGI_tmpfile + #undef fileno #define fileno FCGI_fileno #undef fdopen