mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
fix for Darwin/OSX (bug #2833)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1913,9 +1913,10 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
struct pollfd silly_macos[1];
|
||||||
/* Do nothing */
|
/* Do nothing */
|
||||||
for(;;)
|
for(;;)
|
||||||
poll(NULL,0, -1);
|
poll(silly_macos,0, -1);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user