summaryrefslogtreecommitdiff
path: root/xml2cmp/source/support
diff options
context:
space:
mode:
Diffstat (limited to 'xml2cmp/source/support')
-rw-r--r--xml2cmp/source/support/cmdline.cxx2
-rw-r--r--xml2cmp/source/support/syshelp.cxx6
-rw-r--r--xml2cmp/source/support/syshelp.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/xml2cmp/source/support/cmdline.cxx b/xml2cmp/source/support/cmdline.cxx
index 7ca25d3562c4..2af998cfd922 100644
--- a/xml2cmp/source/support/cmdline.cxx
+++ b/xml2cmp/source/support/cmdline.cxx
@@ -163,7 +163,7 @@ CommandLine::ParseIndexCommand( int argc,
argv );
sIndexFile = sOutputDirectory;
-#if defined(WNT) || defined(OS2)
+#if defined(WNT)
sIndexFile+= "\\xmlindex.html";
#elif defined(UNX)
sIndexFile+= "/xmlindex.html";
diff --git a/xml2cmp/source/support/syshelp.cxx b/xml2cmp/source/support/syshelp.cxx
index fd26acc6bfd4..b6091e0b6917 100644
--- a/xml2cmp/source/support/syshelp.cxx
+++ b/xml2cmp/source/support/syshelp.cxx
@@ -37,7 +37,7 @@
#ifdef WNT
#include <io.h>
-#elif defined(UNX) || defined(OS2)
+#elif defined(UNX)
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
@@ -205,7 +205,7 @@ GatherFileNames( List<Simstr> & o_sFiles,
_findclose(hFile);
delete [] sFilter;
-#elif defined(UNX) || defined(OS2)
+#elif defined(UNX)
DIR * pDir = opendir( i_sSrcDirectory );
dirent * pEntry = 0;
char * sEnding;
@@ -287,7 +287,7 @@ GatherSubDirectories( List<Simstr> & o_sSubDirectories,
_findclose(hFile);
delete [] sFilter;
-#elif defined(UNX) || defined(OS2)
+#elif defined(UNX)
DIR * pDir = opendir( i_sParentdDirectory );
dirent * pEntry = 0;
struct stat aEntryStatus;
diff --git a/xml2cmp/source/support/syshelp.hxx b/xml2cmp/source/support/syshelp.hxx
index d735ef4971d6..dda50c276e57 100644
--- a/xml2cmp/source/support/syshelp.hxx
+++ b/xml2cmp/source/support/syshelp.hxx
@@ -41,7 +41,7 @@ class Simstr;
template <class XY> class List;
-#if defined(WNT) || defined(OS2)
+#if defined(WNT)
const char C_sSLASH[] = "\\";
const char C_cSLASH = '\\';
#elif defined(UNX)