projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up pref.h.orig and deal with the consequences.
[pspp]
/
src
/
getline.c
diff --git
a/src/getline.c
b/src/getline.c
index 114e2c33db38b2ea0ca13bb33f63ec2e2a36fb90..89370b1332b3c9b5d9e50f1314bbedc78985910c 100644
(file)
--- a/
src/getline.c
+++ b/
src/getline.c
@@
-79,7
+79,7
@@
getl_initialize (void)
void
getl_uninitialize (void)
{
void
getl_uninitialize (void)
{
-#if HAVE_LIBHISTORY &&
unix
+#if HAVE_LIBHISTORY &&
defined (unix)
if (history_file)
write_history (history_file);
#endif
if (history_file)
write_history (history_file);
#endif
@@
-424,7
+424,7
@@
read_console (void)
#if HAVE_LIBHISTORY
if (!history_file)
{
#if HAVE_LIBHISTORY
if (!history_file)
{
-#if unix
+#if
def
unix
history_file = tilde_expand (HISTORY_FILE);
#endif
using_history ();
history_file = tilde_expand (HISTORY_FILE);
#endif
using_history ();