From 94bfd049fdb8b499ead7451b029f6b33a5aa9e84 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 2 Sep 2006 22:23:14 +0000 Subject: [PATCH] revert the definition of _XOPEN_SOURCE_EXTENDED on HP-UX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ---- ext/curses/curses.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f749da424..1a5dc2afa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,10 +8,6 @@ Sun Sep 3 04:40:42 2006 Tanaka Akira * ext/socket/socket.c: include arpa/inet.h if available. -Sun Sep 3 04:03:06 2006 Tanaka Akira - - * ext/curses/curses.c: define _XOPEN_SOURCE_EXTENDED on HP-UX. - Sat Sep 2 23:59:58 2006 Yukihiro Matsumoto * string.c (Init_String): undef Symbol#new. diff --git a/ext/curses/curses.c b/ext/curses/curses.c index 45118d19fd..9e448bf881 100644 --- a/ext/curses/curses.c +++ b/ext/curses/curses.c @@ -28,10 +28,6 @@ # endif # include #else -# if defined(__hpux) && !defined(_XOPEN_SOURCE_EXTENDED) -/* HP-UX needs _XOPEN_SOURCE_EXTENDED to use getmaxy, etc. */ -# define _XOPEN_SOURCE_EXTENDED -# endif # include # if defined(__bsdi__) || defined(__NetBSD__) || defined(__APPLE__) # if !defined(_maxx)