Changeset 258:d5b37ea1e679 in mediastreamer2


Ignore:
Timestamp:
Feb 16, 2009 11:56:01 AM (4 years ago)
Author:
strk <strk@…>
Branch:
default
Message:

Fix HAVE_READLINE define setting

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@261 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

Location:
linphone/console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • linphone/console/linphonec.c

    r256 r258  
    3636#include <linphonecore.h> 
    3737#include "linphonec.h" 
    38  
    39 #ifdef HAVE_CONFIG_H 
    40 #include "config.h" 
    41 #endif 
    4238 
    4339#ifdef WIN32 
     
    143139char prompt[PROMPT_MAX_LEN]; 
    144140char sock_unix_path[128]={0}; 
     141 
     142#ifndef HAVE_READLINE 
    145143static ortp_thread_t net_reader_th; 
    146144static bool_t net_reader_run=FALSE; 
    147145static ortp_socket_t server_sock; 
     146#endif 
    148147 
    149148LinphoneCoreVTable linphonec_vtable = { 
     
    673672#ifdef HAVE_READLINE 
    674673        linphonec_finish_readline(); 
    675 #endif 
    676  
     674#else 
    677675        if (net_reader_run) 
    678676                stop_net_reader(); 
     677#endif 
     678 
     679 
    679680        linphone_core_uninit (&linphonec); 
    680681 
  • linphone/console/linphonec.h

    r245 r258  
    2525#ifndef LINPHONEC_H 
    2626#define LINPHONEC_H 1 
     27 
     28#ifdef HAVE_CONFIG_H 
     29#include "config.h" 
     30#endif 
    2731 
    2832#ifdef HAVE_READLINE_H 
Note: See TracChangeset for help on using the changeset viewer.