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) ...@@ -148,7 +148,7 @@ catch (sig)
fatalerr ("got signal %d\n", 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 #define USGISH
#endif #endif
...@@ -691,12 +691,12 @@ void redirect(line, makefile) ...@@ -691,12 +691,12 @@ void redirect(line, makefile)
fatalerr("cannot open \"%s\"\n", makefile); fatalerr("cannot open \"%s\"\n", makefile);
sprintf(backup, "%s.bak", makefile); sprintf(backup, "%s.bak", makefile);
unlink(backup); unlink(backup);
#if defined(WIN32) || defined(OS2) #if defined(WIN32)
fclose(fdin); fclose(fdin);
#endif #endif
if (rename(makefile, backup) < 0) if (rename(makefile, backup) < 0)
fatalerr("cannot rename %s to %s\n", makefile, backup); fatalerr("cannot rename %s to %s\n", makefile, backup);
#if defined(WIN32) || defined(OS2) #if defined(WIN32)
if ((fdin = fopen(backup, "r")) == NULL) if ((fdin = fopen(backup, "r")) == NULL)
fatalerr("cannot open \"%s\"\n", backup); fatalerr("cannot open \"%s\"\n", backup);
#endif #endif
...@@ -765,7 +765,7 @@ void warning1(char *msg, ...) ...@@ -765,7 +765,7 @@ void warning1(char *msg, ...)
void convert_slashes(path) void convert_slashes(path)
char* path; char* path;
{ {
#if defined (WNT) || defined(OS2) #if defined (WNT)
/* /*
* Convert backslashes to slashes * Convert backslashes to slashes
*/ */
......
...@@ -40,7 +40,7 @@ using namespace tstutl; ...@@ -40,7 +40,7 @@ using namespace tstutl;
void usage(); void usage();
void test_shl( vector< sal_Char* > cmdln, sal_Bool boom ); void test_shl( vector< sal_Char* > cmdln, sal_Bool boom );
#if (defined UNX) || (defined OS2) #if (defined UNX)
int main( int argc, char* argv[] ) int main( int argc, char* argv[] )
#else #else
int _cdecl main( int argc, char* argv[] ) int _cdecl main( int argc, char* argv[] )
......
...@@ -101,8 +101,6 @@ BUILD_FLAGS=-f vc7.mak EXFLAGS="/EHa /Zc:wchar_t-" CCNUMVER=$(CCNUMVER) ...@@ -101,8 +101,6 @@ BUILD_FLAGS=-f vc7.mak EXFLAGS="/EHa /Zc:wchar_t-" CCNUMVER=$(CCNUMVER)
# FreeBSD needs a special makefile # FreeBSD needs a special makefile
.IF "$(OS)"=="FREEBSD" .IF "$(OS)"=="FREEBSD"
BUILD_FLAGS=-f gcc-3.0-freebsd.mak BUILD_FLAGS=-f gcc-3.0-freebsd.mak
.ELIF "$(OS)"=="OS2"
BUILD_FLAGS=-f gcc-3.0-os2.mak
.ELIF "$(GUI)"=="WNT" .ELIF "$(GUI)"=="WNT"
BUILD_FLAGS=-f gcc-3.0-mingw.mak BUILD_FLAGS=-f gcc-3.0-mingw.mak
.ELSE .ELSE
...@@ -164,11 +162,6 @@ OUT2BIN= \ ...@@ -164,11 +162,6 @@ OUT2BIN= \
.ENDIF # "$(COM)"=="GCC" .ENDIF # "$(COM)"=="GCC"
.ELIF "$(GUI)"=="OS2"
OUT2LIB= lib$/*.lib
OUT2BIN= lib$/*.dll
.ELSE # "$(GUI)"=="WNT" .ELSE # "$(GUI)"=="WNT"
OUT2LIB= \ 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