From: Scott Cantor Date: Sun, 16 Sep 2007 03:30:29 +0000 (+0000) Subject: Logging fixes. X-Git-Tag: 1.3.1~57 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=7a7c5af7ea64bad738b1c195e46b5121d99d99cb;hp=d59fc13d5716191be0e89248705a736ed8f5b847;p=shibboleth%2Fcpp-sp.git Logging fixes. --- diff --git a/shib/shib-threads-win32.cpp b/shib/shib-threads-win32.cpp index 8a48dd6..68213b2 100644 --- a/shib/shib-threads-win32.cpp +++ b/shib/shib-threads-win32.cpp @@ -31,13 +31,13 @@ #include "shib-threads.h" #ifndef WIN32 -#error "This implementaiton is just for windows 32" +#error "This implementation is only for Win32." #endif #include -using namespace std; using namespace shibboleth; +using namespace std; // base error code for a routine to return onf failure #define THREAD_ERROR_TIMEOUT (1) diff --git a/shib/shib-threads.cpp b/shib/shib-threads.cpp index db98d76..8841e36 100644 --- a/shib/shib-threads.cpp +++ b/shib/shib-threads.cpp @@ -25,22 +25,20 @@ #include "internal.h" #include "shib-threads.h" -#include - #ifdef HAVE_PTHREAD #include #ifndef HAVE_PTHREAD_RWLOCK_INIT #include #endif #else -#error "You need to create the proper thread implementation" +#error "You need to create the proper thread implementation." #endif #include -using namespace std; +using namespace shibboleth::logging; using namespace shibboleth; -using namespace log4cpp; +using namespace std; // pthread implementation of the Shib Target Threads API