X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsearch.in.h;h=53f3bbd496eff703a97c50b1f6e428c46cb96695;hb=1b94e030d122eb05acd5054b711e7bf6d49994e3;hp=75a9edf344f65f68f4acaaf252eccab3ca73abda;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/search.in.h b/lib/search.in.h index 75a9edf34..53f3bbd49 100644 --- a/lib/search.in.h +++ b/lib/search.in.h @@ -53,6 +53,7 @@ for details. */ # if !@HAVE_TSEARCH@ +# if !GNULIB_defined_search_types typedef enum { preorder, @@ -61,13 +62,18 @@ typedef enum leaf } VISIT; +# define GNULIB_defined_search_types 1 +# endif # endif # ifdef __cplusplus extern "C" { # endif +# if !GNULIB_defined_search_fn_types typedef int (*_gl_search_compar_fn) (const void *, const void *); typedef void (*_gl_search_action_fn) (const void *, VISIT, int); +# define GNULIB_defined_search_fn_types 1 +# endif # ifdef __cplusplus } # endif