]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Aug 2012 21:27:15 +0000 (16:27 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Aug 2012 21:27:15 +0000 (16:27 -0500)
src/include/switch_types.h

index 696078a06e6bef85b48a98dec880e93356456580..381ab22012c8ba28fb5c0fdce7f81fb0368260f8 100644 (file)
@@ -1785,13 +1785,11 @@ typedef enum {
 } switch_state_handler_flag_t;
 
 #ifdef WIN32
-typedef SOCKET apr_os_sock_t;
+typedef SOCKET switch_os_socket_t;
 #else
-typedef int apr_os_sock_t;
+typedef int switch_os_socket_t;
 #endif
 
-typedef apr_os_sock_t switch_os_socket_t;
-
 typedef struct apr_pool_t switch_memory_pool_t;
 typedef uint16_t switch_port_t;
 typedef uint8_t switch_payload_t;