Ignore:
Timestamp:
11/04/10 18:20:15 (2 years ago)
Author:
Freddie Akeroyd
Message:

Check for rl_completion_matches and use completion_matches if not present. Refs #223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/applications/NXbrowse.c

    r1427 r1454  
    5454#include <readline/readline.h> 
    5555#include <readline/history.h> 
     56#ifndef HAVE_RL_COMPLETION_MATCHES 
     57#define rl_completion_matches(a,b) completion_matches(a,b) 
     58#endif /* ifndef HAVE_RL_COMPLETION_MATCHES */ 
    5659#else 
    5760#define rl_completion_matches(a,b) NULL 
Note: See TracChangeset for help on using the changeset viewer.