mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-02 03:15:52 +00:00
Replace all checks for 'linux' macro with '__linux__'
gcc -std=c99 does not define the former, and it's a horrible namespace confusion anyway. Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
6634ffc4d2
commit
c394f6b273
10 changed files with 19 additions and 19 deletions
|
|
@ -183,7 +183,7 @@ xf86PrintBanner(void)
|
|||
xf86ErrorFVerb(0, "Current Operating System: %s %s %s %s %s\n",
|
||||
name.sysname, name.nodename, name.release,
|
||||
name.version, name.machine);
|
||||
#ifdef linux
|
||||
#ifdef __linux__
|
||||
do {
|
||||
char buf[80];
|
||||
int fd = open("/proc/cmdline", O_RDONLY);
|
||||
|
|
|
|||
Loading…
Reference in a new issue