From edd45c4f725efefe883e67070de81e0091bcaf55 Mon Sep 17 00:00:00 2001 From: apb Date: Sat, 24 Nov 2012 09:07:44 +0000 Subject: Teach gcc4.1's cpp about the magic __COUNTER__ macro, which returns a unique integer each time it is expanded. This code was written without reference to any other implementation of the same feature. --- gnu/dist/gcc4/libcpp/include/cpplib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/dist/gcc4/libcpp/include/cpplib.h') diff --git a/gnu/dist/gcc4/libcpp/include/cpplib.h b/gnu/dist/gcc4/libcpp/include/cpplib.h index bb207b5acda..ddad5b25249 100644 --- a/gnu/dist/gcc4/libcpp/include/cpplib.h +++ b/gnu/dist/gcc4/libcpp/include/cpplib.h @@ -551,6 +551,7 @@ enum builtin_type BT_BASE_FILE, /* `__BASE_FILE__' */ BT_INCLUDE_LEVEL, /* `__INCLUDE_LEVEL__' */ BT_TIME, /* `__TIME__' */ + BT_COUNTER, /* `__COUNTER__' */ BT_STDC, /* `__STDC__' */ BT_PRAGMA /* `_Pragma' operator */ }; -- cgit