projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
591cf11
)
Put network-related code under #ifdef
author
Ramiro Polla
<ramiro.polla@gmail.com>
Sat, 8 Mar 2008 17:43:53 +0000
(17:43 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Sat, 8 Mar 2008 17:43:53 +0000
(17:43 +0000)
Originally committed as revision 12372 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/os_support.h
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/os_support.h
b/libavformat/os_support.h
index
ee095c7
..
6e69500
100644
(file)
--- a/
libavformat/os_support.h
+++ b/
libavformat/os_support.h
@@
-52,6
+52,7
@@
__declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
# endif
#endif
+#ifdef CONFIG_NETWORK
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
@@
-89,5
+90,6
@@
struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */
+#endif /* CONFIG_NETWORK */
#endif /* FFMPEG_OS_SUPPORT_H */