From 9f16d614083a96b521cbbca6d5c0b33da91991c4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 12 Jun 2000 23:11:16 +0000 Subject: Added a slightly modified version of Ron Alder's insmod patch. Very cool stuff. -Erik --- utility.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utility.c') diff --git a/utility.c b/utility.c index c0dd98f74..48aaeb85d 100644 --- a/utility.c +++ b/utility.c @@ -33,8 +33,8 @@ || defined (BB_INSMOD) /* same conditions as recursiveAction */ #define bb_need_name_too_long -#define bb_need_memory_exhausted #endif +#define bb_need_memory_exhausted #define BB_DECLARE_EXTERN #include "messages.c" @@ -1056,7 +1056,7 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, #endif /* ! BB_REGEXP && (BB_GREP || BB_SED) */ -#if defined BB_FIND +#if defined BB_FIND || defined BB_INSMOD /* * Routine to see if a text string is matched by a wildcard pattern. * Returns TRUE if the text is matched, or FALSE if it is not matched @@ -1156,7 +1156,7 @@ extern int check_wildcard_match(const char *text, const char *pattern) return TRUE; } -#endif /* BB_FIND */ +#endif /* BB_FIND || BB_INSMOD */ -- cgit v1.2.3