Logging fixes.
authorScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:30:29 +0000 (03:30 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:30:29 +0000 (03:30 +0000)
shib/shib-threads-win32.cpp
shib/shib-threads.cpp

index 8a48dd6..68213b2 100644 (file)
 #include "shib-threads.h"
 
 #ifndef WIN32
-#error "This implementaiton is just for windows 32"
+#error "This implementation is only for Win32."
 #endif
 
 #include <stdexcept>
 
-using namespace std;
 using namespace shibboleth;
+using namespace std;
 
 // base error code for a routine to return onf failure
 #define THREAD_ERROR_TIMEOUT   (1)
index db98d76..8841e36 100644 (file)
 #include "internal.h"
 #include "shib-threads.h"
 
-#include <log4cpp/Category.hh>
-
 #ifdef HAVE_PTHREAD
 #include <pthread.h>
 #ifndef HAVE_PTHREAD_RWLOCK_INIT
 #include <synch.h>
 #endif
 #else
-#error "You need to create the proper thread implementation"
+#error "You need to create the proper thread implementation."
 #endif
 
 #include <stdexcept>
 
-using namespace std;
+using namespace shibboleth::logging;
 using namespace shibboleth;
-using namespace log4cpp;
+using namespace std;
 
 // pthread implementation of the Shib Target Threads API