lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9010] Build unix port under Darwin


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #9010] Build unix port under Darwin
Date: Wed, 25 May 2016 07:27:27 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Follow-up Comment #1, patch #9010 (project lwip):

Ehrm, you're right that it's questionable: making this depend on the existence
of "CLOCK_MONOTONIC" as a define is certainly wrong. You can't expect you're
on Darwin just because this define is missing.

The way to go would be to define the correct "LWIP_UNIX_*" define (see
Common.mk). However, this is not really implemented in a clean way (I'd expect
to switch sub-defines depending on this so this define is only checked in a
central place). And sadly, the correct architecture is not detected
automatically.

You could adde a define "LWIP_UNIX_DARWIN" if you want...

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9010>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]