diff options
author | Michele Calgaro <[email protected]> | 2024-10-28 13:39:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-28 13:39:23 +0900 |
commit | 69e1261df646edf24612d7f953dac81182e7461b (patch) | |
tree | 5d9a9e9600f0592c3732fe7c9402134fd22d6651 /src/tools/tqglobal.h | |
parent | c9a75bccc60b6ac092f76a2624115fd8935f4888 (diff) | |
download | tqt3-69e1261df646edf24612d7f953dac81182e7461b.tar.gz tqt3-69e1261df646edf24612d7f953dac81182e7461b.zip |
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/tqglobal.h')
-rw-r--r-- | src/tools/tqglobal.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/tools/tqglobal.h b/src/tools/tqglobal.h index e00cf68a9..3de27202c 100644 --- a/src/tools/tqglobal.h +++ b/src/tools/tqglobal.h @@ -199,7 +199,6 @@ MPW - MPW C++ MWERKS - Metrowerks CodeWarrior MSVC - Microsoft Visual C/C++, Intel C++ for Windows - BOR - Borland/Turbo C++ WAT - Watcom C++ GNU - GNU C++ COMEAU - Comeau C++ @@ -266,14 +265,6 @@ # define Q_NO_USING_KEYWORD /* ### check "using" status */ # endif -#elif defined(__BORLANDC__) || defined(__TURBOC__) -# define Q_CC_BOR -# if __BORLANDC__ < 0x502 -# define Q_NO_BOOL_TYPE -# define Q_NO_EXPLICIT_KEYWORD -# endif -# define Q_NO_USING_KEYWORD /* ### check "using" status */ - #elif defined(__WATCOMC__) # define Q_CC_WAT # if defined(Q_OS_QNX4) @@ -841,17 +832,6 @@ class TQString; # endif # undef TQ_DISABLE_COPY /* avoid unresolved externals */ # endif -#elif defined(Q_OS_LINUX) && defined(Q_CC_BOR) -# if defined(QT_SHARED) /* create a TQt shared library */ -# define TQ_EXPORT __declspec(dllexport) -# define Q_TEMPLATEDLL -# define Q_TEMPLATE_EXTERN -# undef TQ_DISABLE_COPY /* avoid unresolved externals */ -# else -# define Q_TEMPLATEDLL -# define Q_TEMPLATE_EXTERN -# undef TQ_DISABLE_COPY /* avoid unresolved externals */ -# endif #elif defined(Q_CC_GNU) && __GNUC__ - 0 >= 4 # define TQ_EXPORT __attribute__((visibility("default"))) # undef QT_MAKEDLL /* ignore these for other platforms */ @@ -1072,14 +1052,6 @@ TQ_EXPORT const char *tqInstallPathShare(); # pragma warning(disable: 4355) // 'this' : used in base member initializer list # pragma warning(disable: 4231) // nonstandard extension used : 'extern' before template explicit instantiation # pragma warning(disable: 4710) // function not inlined -# elif defined(Q_CC_BOR) -# pragma option -w-inl -# pragma option -w-aus -# pragma warn -inl -# pragma warn -pia -# pragma warn -ccc -# pragma warn -rch -# pragma warn -sig # endif #endif |