Fix for fcgi compiles.

This commit is contained in:
Eric J Korpela 2013-10-28 16:19:48 -07:00
parent 883050e81f
commit f6bfb14433
2 changed files with 4 additions and 6 deletions

View File

@ -24,6 +24,7 @@ libfcgi_sources = \
hostinfo.cpp \ hostinfo.cpp \
md5.c \ md5.c \
md5_file.cpp \ md5_file.cpp \
mfile.cpp \
miofile.cpp \ miofile.cpp \
msg_log.cpp \ msg_log.cpp \
opencl_boinc.cpp \ opencl_boinc.cpp \

View File

@ -68,7 +68,6 @@ bool MIOFILE::eof() {
return true; return true;
} }
#ifndef _USING_FCGI_
int MIOFILE::printf(const char* format, ...) { int MIOFILE::printf(const char* format, ...) {
int retval; int retval;
@ -88,8 +87,6 @@ int MIOFILE::printf(const char* format, ...) {
return retval; return retval;
} }
#endif
char* MIOFILE::fgets(char* dst, int dst_len) { char* MIOFILE::fgets(char* dst, int dst_len) {
if (f) { if (f) {
#ifndef _USING_FCGI_ #ifndef _USING_FCGI_