Kaydet (Commit) 9a7c5c77 authored tarafından Francois Tigeot's avatar Francois Tigeot

Remove some OS/2 remnants

üst 1d7a9b30
......@@ -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
*/
......
......@@ -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[] )
......
......@@ -101,8 +101,6 @@ BUILD_FLAGS=-f vc7.mak EXFLAGS="/EHa /Zc:wchar_t-" CCNUMVER=$(CCNUMVER)
# FreeBSD needs a special makefile
.IF "$(OS)"=="FREEBSD"
BUILD_FLAGS=-f gcc-3.0-freebsd.mak
.ELIF "$(OS)"=="OS2"
BUILD_FLAGS=-f gcc-3.0-os2.mak
.ELIF "$(GUI)"=="WNT"
BUILD_FLAGS=-f gcc-3.0-mingw.mak
.ELSE
......@@ -164,11 +162,6 @@ OUT2BIN= \
.ENDIF # "$(COM)"=="GCC"
.ELIF "$(GUI)"=="OS2"
OUT2LIB= lib$/*.lib
OUT2BIN= lib$/*.dll
.ELSE # "$(GUI)"=="WNT"
OUT2LIB= \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment