This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Silence compiler warning when using sysctl


Hi Jay

jay@systech.com wrote:

> The attached patch silences a compiler warning when using sysctl.

Assuming this is an undefined macro warning, I would prefer:

  #if defined(__FreeBSD_cc_version) && (__FreeBSD_cc_version >= 300001)

to preserve existing behaviour precisely. Does this work for you?

John Dallaway


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]