Changeset 1090:08407aa9a029 in roaraudio for libroar/socket.c
- Timestamp:
- 12/28/08 19:55:37 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/socket.c
r1087 r1090 433 433 union { 434 434 struct sockaddr_in in; 435 #ifdef ROAR_HAVE_UNIX 435 436 struct sockaddr_un un; 437 #endif 436 438 #ifdef ROAR_HAVE_IPV6 437 439 struct sockaddr_in6 in6; … … 539 541 // hey! we have a socket... 540 542 } else if ( type == ROAR_SOCKET_TYPE_UNIX ) { 543 #ifdef ROAR_HAVE_UNIX 541 544 socket_addr.un.sun_family = AF_UNIX; 542 545 strncpy(socket_addr.un.sun_path, host, sizeof(socket_addr.un.sun_path) - 1); … … 549 552 return -1; 550 553 } 554 #else 555 ROAR_ERR("roar_socket_open(*): There is no UNIX Domain Socket support in win32, download a real OS."); 556 return -1; 557 #endif 551 558 } else if ( type == ROAR_SOCKET_TYPE_IPX ) { 552 559 #ifdef ROAR_HAVE_IPX
Note: See TracChangeset
for help on using the changeset viewer.