summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-09-18 16:14:51 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-09-18 16:14:51 (GMT)
commit90f846c84d2ef23021a9142455aeebfc71f40139 (patch)
tree9e2c3cb92f102a8c73efc84dde61aa3c58d3d312 /generic/tclInt.h
parent412f81264a0156c5c2b473db6adcfba85dc81ed6 (diff)
downloadtcl-90f846c84d2ef23021a9142455aeebfc71f40139.zip
tcl-90f846c84d2ef23021a9142455aeebfc71f40139.tar.gz
tcl-90f846c84d2ef23021a9142455aeebfc71f40139.tar.bz2
simplify TCL_CT_ASSERT
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index d13efb4..0ed0192 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInt.h,v 1.398 2008/09/18 15:43:21 msofer Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.399 2008/09/18 16:14:51 msofer Exp $
*/
#ifndef _TCLINT
@@ -4045,10 +4045,8 @@ MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum,
* http://www.pixelbeat.org/programming/gcc/static_assert.html
*/
-#define TCL_ASSERT_CONCAT_(a, b) a##b
-#define TCL_ASSERT_CONCAT(a, b) TCL_ASSERT_CONCAT_(a, b)
#define TCL_CT_ASSERT(e) \
- {enum { TCL_ASSERT_CONCAT(tclCtAssert_, __LINE__) = 1/(!!(e)) };}
+ {enum { ct_assert_value = 1/(!!(e)) };}
/*
*----------------------------------------------------------------