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 \ 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 \
parse.cpp \ parse.cpp \
shmem.cpp \ shmem.cpp \
str_util.cpp \ str_util.cpp \
@ -54,7 +55,7 @@ generic_sources = \
msg_log.cpp \ msg_log.cpp \
network.cpp \ network.cpp \
notice.cpp \ notice.cpp \
opencl_boinc.cpp \ opencl_boinc.cpp \
parse.cpp \ parse.cpp \
prefs.cpp \ prefs.cpp \
procinfo.cpp \ procinfo.cpp \
@ -122,7 +123,7 @@ pkginclude_HEADERS = \
msg_log.h \ msg_log.h \
network.h \ network.h \
notice.h \ notice.h \
opencl_boinc.h \ opencl_boinc.h \
parse.h \ parse.h \
prefs.h \ prefs.h \
procinfo.h \ procinfo.h \

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_