Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: flameeyes@g.o
Subject: Re: [gentoo-dev] [PATCH] Support wrapping headers for multilib ABIs.
Date: Sat, 23 Mar 2013 20:02:42
Message-Id: 20130323210316.2124c4b9@pomiocik.lan
In Reply to: [gentoo-dev] [PATCH] Support wrapping headers for multilib ABIs. by "Michał Górny"
1 Example result:
2
3 $ cat /usr/include/X11/X.h
4 /* This file is auto-generated by autotools-multilib.eclass
5 * as a multilib-friendly wrapper. For the original content,
6 * please see the files that are #included below.
7 */
8
9 #if defined(__i386__)
10 # include <i686-pc-linux-gnu/X11/X.h>
11 #elif defined(__x86_64__) && !defined(__ILP32__)
12 # include <x86_64-pc-linux-gnu/X11/X.h>
13 #else
14 # error "No ABI matched, please report a bug to bugs.gentoo.org"
15 #endif
16
17 --
18 Best regards,
19 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature