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:
Owen W. Taylor 2009-06-12 14:47:48 -04:00
parent 442991a712
commit 627b4484ec
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@
*/
#define _GNU_SOURCE
#define _XOPEN_SOURCE 500 /* for usleep() */
#define _XOPEN_SOURCE 600 /* for usleep() */
#include <config.h>

View File

@ -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>