summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-06 21:45:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-06 21:45:29 (GMT)
commit1d139334be18bced5b3d4d6b1117e47696032f07 (patch)
tree95a851555f59329e2c227e15d91722b71403ab8d
parentd16daeb28a40a95fa54d322134a76c64023beda6 (diff)
parent4ae04fa40387165f811a88d87a1140a07bf10215 (diff)
downloadtcl-1d139334be18bced5b3d4d6b1117e47696032f07.zip
tcl-1d139334be18bced5b3d4d6b1117e47696032f07.tar.gz
tcl-1d139334be18bced5b3d4d6b1117e47696032f07.tar.bz2
check for existance of __BORLANDC__ before using its value
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 4bf81cc..b7237bf 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -191,7 +191,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