Commit 26fd9b29 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Fixing compilation with --enable-browser and tiny.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4724 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 3 deletions
+4 -3
...@@ -6,11 +6,12 @@ ...@@ -6,11 +6,12 @@
to suppress a fatal-error message, make sure the user sees it. to suppress a fatal-error message, make sure the user sees it.
* src/color.c: Comment tweaks. * src/color.c: Comment tweaks.
* src/{*.h,*.c}, configure.ac:Convert all occurrences of * src/{*.h,*.c}, configure.ac:Convert all occurrences of
#ifdef ENABLE_COLOR to #ifndef DISABLE_COLOR. #ifdef ENABLE_COLOR to #ifndef DISABLE_COLOR.
* src/nano.h: Comment tweaks. * src/nano.h: Comment tweaks.
* configure.ac: Move the enabling stuff to after the disablers. * configure.ac: Move the enabling stuff to after the disablers.
* configure.ac: Add submissive colour disabling to --enable-tiny. * configure.ac: Add submissive colour disabling to --enable-tiny.
* configure.ac: Allow other enablers to override --enable-tiny too. * configure.ac: Allow other enablers to override --enable-tiny too.
* src/{proto.h,search.c}: Fix compilation with --enable-browser.
2014-04-03 Benno Schulenberg <bensberg@justemail.net> 2014-04-03 Benno Schulenberg <bensberg@justemail.net>
* configure.ac: Remove unused '*_support' variables. * configure.ac: Remove unused '*_support' variables.
......
...@@ -588,7 +588,7 @@ bool findnextstr( ...@@ -588,7 +588,7 @@ bool findnextstr(
char *needle, size_t *needle_len); char *needle, size_t *needle_len);
void findnextstr_wrap_reset(void); void findnextstr_wrap_reset(void);
void do_search(void); void do_search(void);
#ifndef NANO_TINY #if !defined(NANO_TINY) || !defined(DISABLE_BROWSER)
void do_research(void); void do_research(void);
#endif #endif
#ifdef HAVE_REGEX_H #ifdef HAVE_REGEX_H
......
...@@ -525,7 +525,7 @@ void do_search(void) ...@@ -525,7 +525,7 @@ void do_search(void)
search_replace_abort(); search_replace_abort();
} }
#ifndef NANO_TINY #if !defined(NANO_TINY) || !defined(DISABLE_BROWSER)
/* Search for the last string without prompting. */ /* Search for the last string without prompting. */
void do_research(void) void do_research(void)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment