diff options
Diffstat (limited to 'wrudf/wrudf.h')
-rw-r--r-- | wrudf/wrudf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wrudf/wrudf.h b/wrudf/wrudf.h index d9edba6..5d6a7f9 100644 --- a/wrudf/wrudf.h +++ b/wrudf/wrudf.h @@ -46,9 +46,7 @@ extern enum MEDIUM medium; extern uint32_t trackSize; -#ifdef _GNU_SOURCE -/* I appear not to have readline.h */ -char* readline(char* prompt); +#ifdef USE_READLINE extern char *line; #else extern char line[256]; @@ -99,7 +97,9 @@ extern Directory *rootDir, *curDir; /*wrudf.c */ +#ifdef USE_READLINE char* readLine(char *prompt); +#endif /* wrudf-cmnd.c */ int updateDirectory(Directory* dir); |