CSRG_BASED is defined in both the xserver using platform checks
and in Xosdefs.h using compiler macros.

The one from X11/Xosdefs.h will be used through already included headers:
# if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
        || defined(__APPLE__) || defined(__DragonFly__)
#  ifndef CSRG_BASED
#   define CSRG_BASED
#  endif
# endif

Signed-off-by: Gaetan Nadon <[email protected]>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a2ba334..ac7e828 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,7 +160,7 @@ case $host_os in
        SU="su -m"
         ;;
     *bsd*|dragonfly*)
-        OS_CFLAGS="-DCSRG_BASED"
+        OS_CFLAGS=""
        SU="su -m"
         ;;
     solaris*|sysv4*)
-- 
1.6.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to