lwIP - A Lightweight TCP/IP stack - Patches: patch #9010, Build unix port under Darwin
You are not allowed to post comments on this tracker with your current authentication level.
patch #9010: Build unix port under Darwin
Submitter: | Brian Armstrong <brian_armstrong> | ||
Submitted: | Tue 24 May 2016 07:48:55 PM UTC | ||
Category: | Platform ports | Priority: | 3 - Low |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | None |
Wed 25 May 2016 07:21:52 PM UTC, comment #5: |
Dirk Ziegelmeier <dziegel> |
Wed 25 May 2016 10:55:50 AM UTC, comment #4: You can't detect the presence of a header file while compiling. That would require some kind of automake thing, and we don't want to make the unix example port too complicated.
|
Simon Goldschmidt <goldsimon> |
Wed 25 May 2016 07:43:38 AM UTC, comment #3: Also, rather than explicitly detect Darwin, I wonder if it would be simpler to just detect the presence of `<mach/mach.h>` and `pthread_cond_timedwait_relative_np` (and the lack of CLOCK_MONOTONIC) |
Brian Armstrong <brian_armstrong> |
Wed 25 May 2016 07:37:54 AM UTC, comment #2: Ah, sure, that's not a portable change.
|
Brian Armstrong <brian_armstrong> |
Wed 25 May 2016 07:27:27 AM UTC, comment #1: 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.
|
Simon Goldschmidt <goldsimon> |
Tue 24 May 2016 07:48:55 PM UTC, original submission:
Ok, I have one more patch of questionable value for lwIP :)
|
Brian Armstrong <brian_armstrong> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-05-25 | dziegel | Status | None | Done | |
Open/Closed | Open | Closed | |||
2016-05-24 | brian_armstrong | Attached File | - | Added patch.txt, #37252 |
Powered by Savane 3.13-02a9.
Corresponding source code
Applied with a few modifications. Thanks!