diff network.h @ 2056:eeea52739ff3 libavformat

use ff_neterrno() and FF_NETERROR() for networking error handling
author alex
date Fri, 27 Apr 2007 00:35:54 +0000
parents c0c0f19f0db6
children 857fbfeb2fa0
line wrap: on
line diff
--- a/network.h	Thu Apr 26 23:44:56 2007 +0000
+++ b/network.h	Fri Apr 27 00:35:54 2007 +0000
@@ -29,6 +29,9 @@
 #endif
 #include <netdb.h>
 
+#define ff_neterrno() errno
+#define FF_NETERROR(err) err
+
 #if !defined(HAVE_INET_ATON)
 /* in os_support.c */
 int inet_aton (const char * str, struct in_addr * add);