openbsd-ports/multimedia/libmms/patches/patch-src_mms-common_h
ajacoutot e9ed5ea996 Update to libmms-0.6.2.
from Amit Kulkarni with tweaks from Brad
2011-11-24 10:45:36 +00:00

27 lines
692 B
Plaintext

$OpenBSD: patch-src_mms-common_h,v 1.1 2011/11/24 10:45:36 ajacoutot Exp $
--- src/mms-common.h.orig Fri Oct 28 01:40:30 2011
+++ src/mms-common.h Fri Oct 28 01:41:45 2011
@@ -38,16 +38,17 @@
#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
+#else
+#define set_errno(_err) errno = (_err)
+#define get_errno() errno
+#define closesocket(_s) close(_s)
+#endif
+
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG 0
#endif
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
-#endif
-#else
-#define set_errno(_err) errno = (_err)
-#define get_errno() errno
-#define closesocket(_s) close(_s)
#endif
typedef struct mms_stream_s mms_stream_t;