diff options
author | Francois Tigeot <ftigeot@wolfpond.org> | 2011-04-16 09:08:29 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-04-18 16:59:48 +0200 |
commit | d7bc3048ee87ca5cb190fe8236b354db9b9ef39e (patch) | |
tree | 2bebb42454825cb97b2c9b58ee08e9218e4bcd03 /xml2cmp | |
parent | 0b943523249455c876fefdf19ba345d85f190a29 (diff) |
Remove OS/2 support.
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/finder/makefile.mk | 2 | ||||
-rw-r--r-- | xml2cmp/source/support/cmdline.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/support/syshelp.cxx | 6 | ||||
-rw-r--r-- | xml2cmp/source/support/syshelp.hxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/xcd/cr_html.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/xcd/cr_index.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/xcd/cr_metho.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/xcd/filebuff.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/xcd/main.cxx | 2 | ||||
-rw-r--r-- | xml2cmp/util/makefile.mk | 2 |
10 files changed, 10 insertions, 14 deletions
diff --git a/xml2cmp/source/finder/makefile.mk b/xml2cmp/source/finder/makefile.mk index 22ae524f3..c850ec764 100644 --- a/xml2cmp/source/finder/makefile.mk +++ b/xml2cmp/source/finder/makefile.mk @@ -49,9 +49,7 @@ OBJFILES= \ # --- Targets ------------------------------------------------------ APP1TARGET= $(TARGET) -.IF "$(GUI)"!="OS2" APP1STACK= 1000000 -.ENDIF LIBSALCPPRT=$(0) diff --git a/xml2cmp/source/support/cmdline.cxx b/xml2cmp/source/support/cmdline.cxx index c6a2cbb5d..d75718cc0 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 6838819f1..60ec2f08a 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 9d4c358a8..72751d8d5 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) diff --git a/xml2cmp/source/xcd/cr_html.cxx b/xml2cmp/source/xcd/cr_html.cxx index 24063f46f..334c322e9 100644 --- a/xml2cmp/source/xcd/cr_html.cxx +++ b/xml2cmp/source/xcd/cr_html.cxx @@ -54,7 +54,7 @@ HtmlCreator::HtmlCreator( const char * i_pOutputFileName, const XmlElement & i_rDocument, const Simstr & i_sIDL_BaseDirectory ) : aFile(i_pOutputFileName, std::ios::out -#if defined(WNT) || defined(OS2) +#if defined(WNT) | std::ios::binary #endif ), diff --git a/xml2cmp/source/xcd/cr_index.cxx b/xml2cmp/source/xcd/cr_index.cxx index aef14324a..3d1055432 100644 --- a/xml2cmp/source/xcd/cr_index.cxx +++ b/xml2cmp/source/xcd/cr_index.cxx @@ -159,7 +159,7 @@ Index::CreateHtmlFileName( char * o_sOutputHtml, } strcpy( o_sOutputHtml, sOutputDirectory.str() ); // STRCPY SAFE HERE -#if defined(WNT) || defined(OS2) +#if defined(WNT) strcat(o_sOutputHtml, "\\"); // STRCAT SAFE HERE #elif defined(UNX) strcat(o_sOutputHtml, "/"); // STRCAT SAFE HERE diff --git a/xml2cmp/source/xcd/cr_metho.cxx b/xml2cmp/source/xcd/cr_metho.cxx index bbb98a519..3e1540771 100644 --- a/xml2cmp/source/xcd/cr_metho.cxx +++ b/xml2cmp/source/xcd/cr_metho.cxx @@ -64,7 +64,7 @@ Create_AccessMethod( const char * i_pOutputFileName, int sDescrLen = (int) strlen(sDescrLineChange); std::ofstream aFile(i_pOutputFileName, std::ios::out -#if defined(WNT) || defined(OS2) +#if defined(WNT) | std::ios::binary #endif ); diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx index b2291491d..de9168bab 100644 --- a/xml2cmp/source/xcd/filebuff.cxx +++ b/xml2cmp/source/xcd/filebuff.cxx @@ -44,7 +44,7 @@ LoadXmlFile( Buffer & o_rBuffer, std::ifstream aXmlFile; aXmlFile.open(i_sXmlFilePath, std::ios::in -#if defined(WNT) || defined(OS2) +#if defined(WNT) | std::ios::binary #endif // WNT ); diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx index 98cd2dceb..aeb701acb 100644 --- a/xml2cmp/source/xcd/main.cxx +++ b/xml2cmp/source/xcd/main.cxx @@ -185,7 +185,7 @@ Put2File_TypeInfo( const char * i_sOutputFile, ModuleDescription & i_rData ) { std::ofstream aOut(i_sOutputFile, std::ios::out -#if defined(WNT) || defined(OS2) +#if defined(WNT) | std::ios::binary #endif ); diff --git a/xml2cmp/util/makefile.mk b/xml2cmp/util/makefile.mk index e0f279990..12111ef1c 100644 --- a/xml2cmp/util/makefile.mk +++ b/xml2cmp/util/makefile.mk @@ -42,9 +42,7 @@ ENABLE_EXCEPTIONS=TRUE # --- Targets ------------------------------------------------------ APP1TARGET= $(TARGET) -.IF "$(GUI)"!="OS2" APP1STACK= 1000000 -.ENDIF UWINAPILIB=$(0) LIBSALCPPRT=$(0) |