]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't re-define macro
authorAlan T. DeKok <aland@freeradius.org>
Fri, 26 Jan 2018 23:13:29 +0000 (18:13 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 26 Jan 2018 23:13:29 +0000 (18:13 -0500)
src/include/talloc.h

index a324d41bf16b072b7f2bf410a21d978eb5397f24..dfcccadc24b196c7f7591818ebe2b6030ef9c51b 100644 (file)
@@ -90,8 +90,10 @@ static inline void *_talloc_list_get_type_abort(void *head, size_t offset, char
        return head;
 }
 #else
+#ifndef talloc_get_type_abort
 #  define talloc_get_type_abort(_head, _type)
 #endif
+#endif
 
 /*
  *     talloc portability issues.  'const' is not part of the talloc