[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/nt/inc/sys/socket.h,v
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/nt/inc/sys/socket.h,v |
Date: |
Sun, 15 Jul 2007 12:14:52 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Jason Rumney <jasonr> 07/07/15 12:14:52
Index: socket.h
===================================================================
RCS file: /sources/emacs/emacs/nt/inc/sys/socket.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- socket.h 14 Jul 2007 23:03:23 -0000 1.14
+++ socket.h 15 Jul 2007 12:14:52 -0000 1.15
@@ -53,6 +53,11 @@
#include <winsock2.h>
#include <ws2tcpip.h>
+/* process.c uses uint16_t (from C99) for IPv6, but
+ apparently it is not defined in some versions of mingw and msvc. */
+#ifndef UINT16_C
+typedef unsigned short uint16_t;
+#endif
/* redefine select to reference our version */
#ifdef MUST_REDEF_SELECT