diff options
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/mkdepend/main.c | 8 | ||||
-rw-r--r-- | soltools/testSHL/testshl.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c index 441f986f399e..6b0fe3df69a9 100644 --- a/soltools/mkdepend/main.c +++ b/soltools/mkdepend/main.c @@ -148,7 +148,7 @@ catch (sig) fatalerr ("got signal %d\n", sig); } -#if defined(USG) || (defined(i386) && defined(SYSV)) || defined(WIN32) || defined(OS2) || defined(Lynx_22) +#if defined(USG) || (defined(i386) && defined(SYSV)) || defined(WIN32) || defined(Lynx_22) #define USGISH #endif @@ -691,12 +691,12 @@ void redirect(line, makefile) fatalerr("cannot open \"%s\"\n", makefile); sprintf(backup, "%s.bak", makefile); unlink(backup); -#if defined(WIN32) || defined(OS2) +#if defined(WIN32) fclose(fdin); #endif if (rename(makefile, backup) < 0) fatalerr("cannot rename %s to %s\n", makefile, backup); -#if defined(WIN32) || defined(OS2) +#if defined(WIN32) if ((fdin = fopen(backup, "r")) == NULL) fatalerr("cannot open \"%s\"\n", backup); #endif @@ -765,7 +765,7 @@ void warning1(char *msg, ...) void convert_slashes(path) char* path; { -#if defined (WNT) || defined(OS2) +#if defined (WNT) /* * Convert backslashes to slashes */ diff --git a/soltools/testSHL/testshl.cxx b/soltools/testSHL/testshl.cxx index 15ca5fedda95..c66a238effa6 100644 --- a/soltools/testSHL/testshl.cxx +++ b/soltools/testSHL/testshl.cxx @@ -40,7 +40,7 @@ using namespace tstutl; void usage(); void test_shl( vector< sal_Char* > cmdln, sal_Bool boom ); -#if (defined UNX) || (defined OS2) +#if (defined UNX) int main( int argc, char* argv[] ) #else int _cdecl main( int argc, char* argv[] ) |