Mercurial > mplayer.hg
comparison stream/udp.c @ 27341:e7c989f7a7c9
Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.
author | diego |
---|---|
date | Wed, 30 Jul 2008 12:01:30 +0000 |
parents | a26e50cae389 |
children | d788e177a35e |
comparison
equal
deleted
inserted
replaced
27340:33274ce3cce0 | 27341:e7c989f7a7c9 |
---|---|
90 #endif /* HAVE_WINSOCK2 */ | 90 #endif /* HAVE_WINSOCK2 */ |
91 } | 91 } |
92 else | 92 else |
93 { | 93 { |
94 #ifndef HAVE_WINSOCK2 | 94 #ifndef HAVE_WINSOCK2 |
95 #ifdef USE_ATON | 95 #ifdef CONFIG_ATON |
96 inet_aton (url->hostname, &server_address.sin_addr); | 96 inet_aton (url->hostname, &server_address.sin_addr); |
97 #else | 97 #else |
98 inet_pton (AF_INET, url->hostname, &server_address.sin_addr); | 98 inet_pton (AF_INET, url->hostname, &server_address.sin_addr); |
99 #endif /* USE_ATON */ | 99 #endif /* CONFIG_ATON */ |
100 #else | 100 #else |
101 server_address.sin_addr.s_addr = htonl(INADDR_ANY); | 101 server_address.sin_addr.s_addr = htonl(INADDR_ANY); |
102 #endif /* HAVE_WINSOCK2 */ | 102 #endif /* HAVE_WINSOCK2 */ |
103 } | 103 } |
104 server_address.sin_family = AF_INET; | 104 server_address.sin_family = AF_INET; |