mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 11:11:19 +02:00
Updating readme.
This commit is contained in:
@@ -22,13 +22,17 @@
|
||||
#include "mainInt.h"
|
||||
|
||||
#if !defined(_WIN32) && !defined(AIX)
|
||||
// comment out the following line if 'readline' is not available
|
||||
#define ABC_USE_READ_LINE
|
||||
#endif
|
||||
|
||||
#ifdef ABC_USE_READ_LINE
|
||||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
#endif
|
||||
|
||||
ABC_NAMESPACE_IMPL_START
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
/// DECLARATIONS ///
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -72,7 +76,7 @@ char * Abc_UtilsGetUsersInput( Abc_Frame_t * pAbc )
|
||||
{
|
||||
static char Prompt[5000];
|
||||
sprintf( Prompt, "abc %02d> ", pAbc->nSteps );
|
||||
#if !defined(_WIN32) && !defined(AIX)
|
||||
#ifdef ABC_USE_READ_LINE
|
||||
{
|
||||
static char * line = NULL;
|
||||
if (line != NULL) ABC_FREE(line);
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
#include "proof/pdr/pdr.h"
|
||||
#include "proof/ssw/ssw.h"
|
||||
|
||||
// to compile on Linux, add -lpthread to LIBS in Makefile
|
||||
|
||||
|
||||
|
||||
// comment out this line to disable pthreads
|
||||
#define ABC_USE_PTHREADS
|
||||
|
||||
Reference in New Issue
Block a user