diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2013-04-19 10:36:11 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2013-04-19 10:36:11 +0000 |
commit | c9f1884efd85052d45add121a8e314bd30fa519b (patch) | |
tree | 7ea053d9dd8f150f72063d5830ce668519eacfaf /pjlib-util | |
parent | 671f27d6164a392e7c501626e50afa464b9bdf0d (diff) |
Re #1655: Initial implementation of pjsua CLI app for Windows Mobile (5.x & 6.x).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4484 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util')
-rw-r--r-- | pjlib-util/src/pjlib-util/cli_console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib-util/src/pjlib-util/cli_console.c b/pjlib-util/src/pjlib-util/cli_console.c index 76dedb35..934654a2 100644 --- a/pjlib-util/src/pjlib-util/cli_console.c +++ b/pjlib-util/src/pjlib-util/cli_console.c @@ -469,7 +469,8 @@ static int readline_thread(void * p) * If exit is desired end script with q for quit */ /* Reopen stdin/stdout/stderr to /dev/console */ -#if defined(PJ_WIN32) && PJ_WIN32!=0 +#if defined(PJ_WIN32) && PJ_WIN32!=0 && \ + (!defined(PJ_WIN32_WINCE) || PJ_WIN32_WINCE==0) if (freopen ("CONIN$", "r", stdin) == NULL) { #else if (1) { |