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,9 +24,10 @@ libfcgi_sources = \
hostinfo.cpp \
md5.c \
md5_file.cpp \
mfile.cpp \
miofile.cpp \
msg_log.cpp \
opencl_boinc.cpp \
opencl_boinc.cpp \
parse.cpp \
shmem.cpp \
str_util.cpp \
@ -54,7 +55,7 @@ generic_sources = \
msg_log.cpp \
network.cpp \
notice.cpp \
opencl_boinc.cpp \
opencl_boinc.cpp \
parse.cpp \
prefs.cpp \
procinfo.cpp \
@ -122,7 +123,7 @@ pkginclude_HEADERS = \
msg_log.h \
network.h \
notice.h \
opencl_boinc.h \
opencl_boinc.h \
parse.h \
prefs.h \
procinfo.h \

View File

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