Skip to content

Commit ac9fc03

Browse files
committed
drop support for BORLAND compiler
1 parent ce88e63 commit ac9fc03

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

include/sc_stdbool.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,11 @@
1414
* for various compiler versions and defines things that are missing in
1515
* those versions.
1616
*
17-
* The GNU and Watcom compilers include a stdbool.h, but the Borland
18-
* C/C++ 5.5.1 compiler and the Microsoft compilers do not.
19-
*
2017
* See http://predef.sourceforge.net/precomp.html for compile macros.
2118
*/
2219

2320
#ifndef __cplusplus
2421

25-
/**
26-
* Borland C++ 5.5.1 does not define _Bool.
27-
*/
28-
#if defined(__BORLANDC__) && __BORLANDC__ < 0x630
29-
typedef int _Bool;
30-
#endif
31-
3222
/**
3323
* Microsoft C/C++ version 14.00.50727.762, which comes with Visual C++ 2005,
3424
* and version 15.00.30729.01, which comes with Visual C++ 2008, do not

src/cllazyfile/current_function.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636

3737
# define SC_CURRENT_FUNCTION __FUNCTION__
3838

39-
#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
40-
41-
# define SC_CURRENT_FUNCTION __FUNC__
42-
4339
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
4440

4541
# define SC_CURRENT_FUNCTION __func__

src/exp2cxx/classes_type.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,8 @@ void TYPEprint_typedefs( Type t, FILE * classes ) {
492492
}
493493

494494
/* Print the extern statement: */
495-
#if !defined(__BORLAND__)
496495
strncpy( nm, TYPEtd_name( t ), BUFSIZ );
497496
fprintf( classes, "extern SC_SCHEMA_EXPORT %s *%s;\n", GetTypeDescriptorName( t ), nm );
498-
#endif
499497
}
500498

501499
/** **

0 commit comments

Comments
 (0)