You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ direwolf git:(dev) ✗ diff direwolf_7247099.h direwolf.h
34,46d33
<
< #ifdef APPLE
<
< // https://groups.yahoo.com/neo/groups/direwolf_packet/conversations/messages/2072
<
< // I think we should put it here, so it will apply to all files,
< // rather than only in ptt.c.
<
< #define __DARWIN_C_LEVEL __DARWIN_C_FULL
<
< #endif
<
<
132a120,130
(I'm putting this here so the change doesn't get lost.)
In direwolf.h, the APPLE define has to be after:
#include <pthread.h>
(Line 130 in the file, before this change.)
pthread.h pulls in <sys/cdefs.h>, which redefines __DARWIN_C_LEVEL back to ansi, which breaks things.
Diff for the corrected file, against 7247099:
➜ direwolf git:(dev) ✗ diff direwolf_7247099.h direwolf.h
34,46d33
<
< #ifdef APPLE
<
< // https://groups.yahoo.com/neo/groups/direwolf_packet/conversations/messages/2072
<
< // I think we should put it here, so it will apply to all files,
< // rather than only in ptt.c.
<
< #define __DARWIN_C_LEVEL __DARWIN_C_FULL
<
< #endif
<
<
132a120,130
The text was updated successfully, but these errors were encountered: