diff options
| author | apb <apb@NetBSD.org> | 2012-11-24 09:07:44 +0000 |
|---|---|---|
| committer | apb <apb@NetBSD.org> | 2012-11-24 09:07:44 +0000 |
| commit | edd45c4f725efefe883e67070de81e0091bcaf55 (patch) | |
| tree | c0a0652e3a400a2a2be9f0f502defff805072891 /gnu/dist/gcc4/libcpp/include | |
| parent | 84d501111b538db76b23a1dee6cdeb7f9b90683d (diff) | |
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.
Diffstat (limited to 'gnu/dist/gcc4/libcpp/include')
| -rw-r--r-- | gnu/dist/gcc4/libcpp/include/cpplib.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ }; |
