mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
Fix _XOPEN_SOURCE compilation problems on Solaris
Change #define _XOPEN_SOURCE 500 to 600 in compositor-xrender.c to avoid a bad interaction with -xc99 on Solaris. Remove unneeded #define in compositor-mutter.c. Based on a patch by Brian Cameron http://bugzilla.gnome.org/show_bug.cgi?id=580662
This commit is contained in:
parent
442991a712
commit
627b4484ec
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define _XOPEN_SOURCE 500 /* for usleep() */
|
||||
#define _XOPEN_SOURCE 600 /* for usleep() */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define _XOPEN_SOURCE 500 /* for usleep() */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user