mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix compilation errors
This commit is contained in:
parent
461876a9a3
commit
4c2c12fafa
2 changed files with 8 additions and 3 deletions
|
|
@ -112,9 +112,14 @@ int main(int argc, char *argv[]){
|
|||
/* main loop for sending message and doing background linphonecore work: */
|
||||
while(running){
|
||||
char character;
|
||||
system ("/bin/stty raw"); /*to disable terminal buffering*/
|
||||
/*to disable terminal buffering*/
|
||||
if (system ("/bin/stty raw") == -1){
|
||||
ms_error("/bin/stty error");
|
||||
}
|
||||
character = getchar();
|
||||
system ("/bin/stty cooked");
|
||||
if (system("/bin/stty cooked") == -1){
|
||||
ms_error("/bin/stty error");
|
||||
}
|
||||
if (character==0x03) {/*CTRL C*/
|
||||
running=0;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 8799e7b89e11d46aebfec8e948de3bf8e754e2ec
|
||||
Subproject commit 0780ed6788e5224617b62a34b190a1a7197cd50f
|
||||
Loading…
Add table
Reference in a new issue