]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from gnulib.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Jan 2013 01:47:44 +0000 (17:47 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Jan 2013 01:47:44 +0000 (17:47 -0800)
ChangeLog
lib/unistd.in.h
src/unexmacosx.c

index 02a0453b9ecef60300595b1fbe447e39ced235cf..15b3252402623331d9ec8abbbed8a60cc66611a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from gnulib, incorporating:
+       2013-01-16 unistd: port to recent mingw
+
 2013-01-19  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (install-arch-indep): Put back a chmod that was
index f011b71d5f544d42d03a567c6a85e4126eb26733..a870fe7b4a309060ab662e268f50d2668a3a1e1f 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef _@GUARD_PREFIX@_UNISTD_H
+
 #if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
 #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
-
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_UNISTD_H@
 # @INCLUDE_NEXT@ @NEXT_UNISTD_H@
index 8d4e636fa5cd329033684190e9fdb98049b4fadb..bec1d0a1b0403c918c4ee9ea56fff0b2d4c20099 100644 (file)
@@ -437,7 +437,7 @@ build_region_list (void)
 }
 
 
-#define MAX_UNEXEC_REGIONS 400
+#define MAX_UNEXEC_REGIONS 800
 
 static int num_unexec_regions;
 typedef struct {