diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-06 21:45:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-06 21:45:29 (GMT) |
commit | 1d139334be18bced5b3d4d6b1117e47696032f07 (patch) | |
tree | 95a851555f59329e2c227e15d91722b71403ab8d | |
parent | d16daeb28a40a95fa54d322134a76c64023beda6 (diff) | |
parent | 4ae04fa40387165f811a88d87a1140a07bf10215 (diff) | |
download | tcl-1d139334be18bced5b3d4d6b1117e47696032f07.zip tcl-1d139334be18bced5b3d4d6b1117e47696032f07.tar.gz tcl-1d139334be18bced5b3d4d6b1117e47696032f07.tar.bz2 |
check for existance of __BORLANDC__ before using its value
-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 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 |