diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-06 21:44:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-06 21:44:43 (GMT) |
commit | 4ae04fa40387165f811a88d87a1140a07bf10215 (patch) | |
tree | eca653b340a2ad247b22792b292f1b2111c089ae /generic/tcl.h | |
parent | 7986522df51e69499b127ab05a24f697b5ac0849 (diff) | |
download | tcl-4ae04fa40387165f811a88d87a1140a07bf10215.zip tcl-4ae04fa40387165f811a88d87a1140a07bf10215.tar.gz tcl-4ae04fa40387165f811a88d87a1140a07bf10215.tar.bz2 |
Check for existance of __BORLANDC__ before using its value
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 31960ec..5300bba 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -168,7 +168,7 @@ extern "C" { * MSVCRT. */ -#if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec)))) +#if (defined(__WIN32__) && (defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0550)) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec)))) # define HAVE_DECLSPEC 1 # ifdef STATIC_BUILD # define DLLIMPORT |