Some Unix fixes.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 14 Jun 2005 04:37:56 +0000 (04:37 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 14 Jun 2005 04:37:56 +0000 (04:37 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1707 cb58f699-b61c-0410-a6fe-9272a202ed29

nsapi_shib/nsapi_shib.cpp

index 2d3a5ff..465ed56 100644 (file)
@@ -65,9 +65,9 @@
 #include <fstream>
 #include <sstream>
 #include <stdexcept>
-#include <process.h>
 
 #ifdef WIN32
+# include <process.h>
 # define XP_WIN32
 #else
 # define XP_UNIX
@@ -459,7 +459,7 @@ pair<bool,bool> SunRequestMapper::getBool(const char* name, const char* ns) cons
     if (stn && !ns && name) {
         // Override boolean properties.
         const char* param=pblock_findval(name,stn->m_pb);
-        if (param && (!strcmp(param,"1") || !util_strcasecmp(param,"true")))
+        if (param && (!strcmp(param,"1") || !strcasecmp(param,"true")))
             return make_pair(true,true);
     }
     return s ? s->getBool(name,ns) : make_pair(false,false);