FYI, in SVN (upstream) the current code is:
#if defined(P_NETBSD) || defined(P_QNX)
&& (~rtm->rtm_flags&RTF_CLONED) // Net BSD has flag one way
#elif !defined(P_OPENBSD) && !defined(P_FREEBSD)
&& (~rtm->rtm_flags&RTF_WASCLONED) // MAC has it another
#else
// Open/Free BSD does not
have it at all!
#endif
--
Eugen