Changeset 2c9190 in git for Singular/feread.cc


Ignore:
Timestamp:
Mar 5, 2003, 7:02:09 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
8f8f304ee82b5d608a9e311cd5d94500ecb692be
Parents:
f4e8075609f1fb2519859dd7474eb829aac37881
Message:
*hannes: backport to gcc2/readline2


git-svn-id: file:///usr/local/Singular/svn/trunk@6572 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/feread.cc

    rf4e807 r2c9190  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feread.cc,v 1.47 2003-03-04 19:35:03 bricken Exp $ */
     4/* $Id: feread.cc,v 1.48 2003-03-05 18:02:09 Singular Exp $ */
    55/*
    66* ABSTRACT: input from ttys, simulating fgets
     
    88
    99#include "mod2.h"
     10
     11// ----------------------------------------
     12// system settings:
     13#undef USE_GCC3
     14#undef USE_READLINE4
     15//----------------------------------------
    1016#ifdef ix86_Win
    1117#define READLINE_STATIC
     
    2632#undef HAVE_DYN_RL
    2733#endif
     34
     35#ifndef USE_READLINE4
     36#define rl_filename_completion_function filename_completion_function
     37#define rl_completion_matches           completion_matches
     38#endif
     39
    2840
    2941#ifdef HAVE_TCL
     
    370382  rl_readline_name = "Singular";
    371383  /* Tell the completer that we want a crack first. */
     384#ifdef USE_GCC3
    372385  rl_attempted_completion_function = (RL_CPPFunction *)singular_completion;
     386#else
     387  rl_attempted_completion_function = (CPPFunction *)singular_completion;
     388#endif
    373389
    374390  /* set the output stream */
Note: See TracChangeset for help on using the changeset viewer.