Date: Tue, 06 Nov 2012 16:37:41 -0600 From: Larry Rosenman <ler@lerctr.org> To: <freebsd-current@freebsd.org> Subject: detecting clang from source =?UTF-8?Q?code=3F?= Message-ID: <ad01692499600d99ead805e9abe0db4d@webmail.lerctr.org>
next in thread | raw e-mail | index | archive | help
Are there any defines that code can use in #ifdef/#if et al to tell it's being compiled with clang? Vic Abell (lsof author) is cleaning up lsof to compile cleanly with clang and would like to know, since the default is now clang on -CURRENT. Thanks! Larry Rosenman Maintainer sysutils/lsof
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad01692499600d99ead805e9abe0db4d>