mirror of https://github.com/BOINC/boinc.git
Fix for fcgi compiles.
This commit is contained in:
parent
883050e81f
commit
f6bfb14433
|
@ -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 \
|
||||||
|
|
|
@ -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_
|
||||||
|
|
Loading…
Reference in New Issue