Changeset 659 for trunk/server/source3/printing/print_cups.c
- Timestamp:
- Nov 9, 2011, 6:32:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/printing/print_cups.c
r599 r659 31 31 #include <cups/language.h> 32 32 33 #ifdef __OS2__ 34 #define pipe(A) os2_socketpair(A) 35 #endif 36 33 37 static SIG_ATOMIC_T gotalarm; 34 38 … … 392 396 DEBUG(5,("cups_pcap_load_async: asynchronously loading cups printers\n")); 393 397 394 #ifndef __OS2__395 398 if (pipe(fds) == -1) { 396 #else // on OS2 we have no select() on pipes, so we use socketpair() instead397 if (socketpair(AF_UNIX, SOCK_STREAM,0, fds) == -1) {398 #endif399 399 return false; 400 400 }
Note:
See TracChangeset
for help on using the changeset viewer.