Mercurial > hg > mxe
view src/octave-1-fixes.patch @ 3125:484c88cf1ecf default tip
patch Octave's src/Makefile.in in the right direction...
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Jan 2013 15:56:44 -0500 |
parents | 2784771bed32 |
children |
line wrap: on
line source
--- a/libgnu/unistd.in.h 2012-12-03 12:57:36.000000000 -0500 +++ b/libgnu/unistd.in.h 2012-12-03 14:22:38.421760035 -0500 @@ -19,23 +19,7 @@ #endif @PRAGMA_COLUMNS@ -/* Special invocation convention: - - On mingw, several headers, including <winsock2.h>, include <unistd.h>, - but we need to ensure that both the system <unistd.h> and <winsock2.h> - are completely included before we replace gethostname. */ -#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ - && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H -/* <unistd.h> is being indirectly included for the first time from - <winsock2.h>; avoid declaring any overrides. */ -# if @HAVE_UNISTD_H@ -# @INCLUDE_NEXT@ @NEXT_UNISTD_H@ -# else -# error unexpected; report this to bug-gnulib@gnu.org -# endif -# define _GL_WINSOCK2_H_WITNESS - -/* Normal invocation. */ -#elif !defined _@GUARD_PREFIX@_UNISTD_H +#if !defined _@GUARD_PREFIX@_UNISTD_H /* The include_next requires a split double-inclusion guard. */ #if @HAVE_UNISTD_H@