Changeset 2756


Ignore:
Timestamp:
Aug 13, 2006, 12:49:45 AM (19 years ago)
Author:
bird
Message:

Use a socketpair instead of a pipe on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synergy/lib/arch/CArchNetworkBSD.cpp

    r2749 r2756  
    853853        if (unblockPipe == NULL) {
    854854                unblockPipe = new int[2];
     855#ifdef __OS2__
     856                if (!socketpair(PF_LOCAL, SOCK_STREAM, 0, unblockPipe)) {
     857#else
    855858                if (pipe(unblockPipe) != -1) {
     859#endif
    856860                        try {
    857861                                setBlockingOnSocket(unblockPipe[0], false);
Note: See TracChangeset for help on using the changeset viewer.