From f6bfb14433c960f3efa91d1cc264b1b7c2114b92 Mon Sep 17 00:00:00 2001 From: Eric J Korpela Date: Mon, 28 Oct 2013 16:19:48 -0700 Subject: [PATCH] Fix for fcgi compiles. --- lib/Makefile.am | 7 ++++--- lib/miofile.cpp | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 45c3279851..b507a11ce8 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 \ diff --git a/lib/miofile.cpp b/lib/miofile.cpp index a3603d6b0f..a74e394c57 100644 --- a/lib/miofile.cpp +++ b/lib/miofile.cpp @@ -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_