[Xorg-commit] xc/programs/Xserver/hw/xfree86/common xf86cmap.c,1.1.4.1,1.1.4.2
Alan Coopersmith
xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007
Committed by: alanc
Update of /cvs/xorg/xc/programs/Xserver/hw/xfree86/common
In directory pdx:/tmp/cvs-serv30354/programs/Xserver/hw/xfree86/common
Modified Files:
Tag: XORG-CURRENT
xf86cmap.c
Log Message:
[fd.o bugzilla #189] _XOPEN_SOURCE defines break builds on Solaris Express
Index: xf86cmap.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/common/xf86cmap.c,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- xf86cmap.c 26 Nov 2003 22:48:58 -0000 1.1.4.1
+++ xf86cmap.c 16 Feb 2004 20:19:59 -0000 1.1.4.2
@@ -1,3 +1,4 @@
+/* $XdotOrg$ */
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86cmap.c,v 1.25 2003/10/17 20:02:12 alanh Exp $ */
/*
* Copyright (c) 1998-2001 by The XFree86 Project, Inc.
@@ -26,7 +27,8 @@
* authorization from the copyright holder(s) and author(s).
*/
-#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__)
+#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \
+ || (defined(sun) && defined(__SVR4))
#include <math.h>
#else
#define _XOPEN_SOURCE /* to get prototype for pow on some systems */
More information about the xorg-commit
mailing list