pkgsrc/net/pchar/patches/patch-PctestIpv6Udp.cc
wiedi 41c07fa511 Fix "abs(int) is ambiguous" and make sure _XOPEN_SOURCE and __EXTENSIONS__ are not both defined
----------------------------------------------------------------------
2014-02-24 12:49:56 +00:00

13 lines
467 B
C++

$NetBSD: patch-PctestIpv6Udp.cc,v 1.1 2014/02/24 12:49:56 wiedi Exp $
don't define _XOPEN_SOURCE and __EXTENSIONS__ at the same time
--- PctestIpv6Udp.cc.orig 2005-02-12 20:32:18.000000000 +0000
+++ PctestIpv6Udp.cc
@@ -22,7 +22,6 @@ static char rcsid[] = "$Id: PctestIpv6Ud
// according to Erik Nordmark <Erik.Nordmark@eng.sun.com>. His quick
// fix to do this is:
#ifdef NEED_XOPEN
-#define _XOPEN_SOURCE 500
#define __EXTENSIONS__
#endif /* NEED_XOPEN */