From 638f63d207a9a925df17fda588436fa6530a3d85 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Oct 2024 12:33:30 +0900 Subject: Drop Borland compiler specific code Signed-off-by: Michele Calgaro --- win/common.pro | 4 ---- win/ctype.h | 2 -- win/signal.h | 2 -- win/stdlib.h | 2 -- win/string.h | 2 -- win/sys/fcntl.h | 2 -- win/sys/stat.h | 2 -- win/sys/types.h | 2 -- 8 files changed, 18 deletions(-) (limited to 'win') diff --git a/win/common.pro b/win/common.pro index 41db8d906..820246f39 100644 --- a/win/common.pro +++ b/win/common.pro @@ -141,10 +141,6 @@ contains( TEMPLATE, lib ) { } # global definitions -win32-borland { - QMAKE_CXXFLAGS += /I $(KDELIBS)/win/tdelibs_global_win.h - QMAKE_CFLAGS += /I $(KDELIBS)/win/tdelibs_global_win.h -} win32-msvc* { QMAKE_CXXFLAGS += /FI$(KDELIBS)/win/tdelibs_global_win.h QMAKE_CFLAGS += /FI$(KDELIBS)/win/tdelibs_global_win.h diff --git a/win/ctype.h b/win/ctype.h index 3a0f54bfc..4a5055116 100644 --- a/win/ctype.h +++ b/win/ctype.h @@ -22,8 +22,6 @@ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif #ifdef __cplusplus diff --git a/win/signal.h b/win/signal.h index 571280f4b..18ebc7c27 100644 --- a/win/signal.h +++ b/win/signal.h @@ -70,8 +70,6 @@ KDEWIN32_EXPORT int kill(pid_t pid, int sig); /* regular signal.h */ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif #endif SIGNAL_H diff --git a/win/stdlib.h b/win/stdlib.h index 96f458b0d..3a89e468b 100644 --- a/win/stdlib.h +++ b/win/stdlib.h @@ -25,8 +25,6 @@ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif #define __need_size_t diff --git a/win/string.h b/win/string.h index 2ed942612..f0f301aaf 100644 --- a/win/string.h +++ b/win/string.h @@ -46,8 +46,6 @@ KDEWIN32_EXPORT char* strndup(const char *src, size_t n); /* regular string.h */ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif #endif /* KDEWIN_STRING_H */ diff --git a/win/sys/fcntl.h b/win/sys/fcntl.h index 6e5cacdbe..d3cbe7def 100644 --- a/win/sys/fcntl.h +++ b/win/sys/fcntl.h @@ -20,7 +20,5 @@ /* regular sys/fcntl.h */ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif diff --git a/win/sys/stat.h b/win/sys/stat.h index 288782032..8c99bd36a 100644 --- a/win/sys/stat.h +++ b/win/sys/stat.h @@ -28,8 +28,6 @@ /*# ifdef _INC_STAT # define _STAT_H_ # endif*/ -#elif defined(__BORLANDC__) -# include #endif typedef short nlink_t; diff --git a/win/sys/types.h b/win/sys/types.h index 9a01fa61d..d07ec0160 100644 --- a/win/sys/types.h +++ b/win/sys/types.h @@ -23,8 +23,6 @@ /* regular types.h */ #ifdef _MSC_VER # include -#elif defined(__BORLANDC__) -# include #endif #ifndef _SIZE_T_DEFINED -- cgit v1.2.1