summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp/include
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-08-31 20:33:37 +0000
committerpfg <pfg@FreeBSD.org>2013-08-31 20:33:37 +0000
commitf95e394e35406c2782ecb7801ea1535558f8c464 (patch)
treeb185bfca3a7267405d36ba66236fe4404ce8017b /contrib/gcclibs/libcpp/include
parent2dccc06e8ea8317ec73c70e6062b6efb70dbbbc5 (diff)
downloadFreeBSD-src-f95e394e35406c2782ecb7801ea1535558f8c464.zip
FreeBSD-src-f95e394e35406c2782ecb7801ea1535558f8c464.tar.gz
Add support for the GCC binary integer constants extension.
This is required to build the i965 backend with newer versions of mesa. Original patch from Joerg Wunsch in GCC Bug 23479, under the GPLv2; also taken from there in OpenBSD. Obtained from: gcc 4.3 (rev. 125346; GPLv2) MFC after: 5 days
Diffstat (limited to 'contrib/gcclibs/libcpp/include')
-rw-r--r--contrib/gcclibs/libcpp/include/cpplib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/gcclibs/libcpp/include/cpplib.h b/contrib/gcclibs/libcpp/include/cpplib.h
index 851a2e3..7fd73b8 100644
--- a/contrib/gcclibs/libcpp/include/cpplib.h
+++ b/contrib/gcclibs/libcpp/include/cpplib.h
@@ -745,6 +745,7 @@ struct cpp_num
#define CPP_N_DECIMAL 0x0100
#define CPP_N_HEX 0x0200
#define CPP_N_OCTAL 0x0400
+#define CPP_N_BINARY 0x0800
#define CPP_N_UNSIGNED 0x1000 /* Properties. */
#define CPP_N_IMAGINARY 0x2000
OpenPOWER on IntegriCloud