sandsifter icon indicating copy to clipboard operation
sandsifter copied to clipboard

On some versions of MacOS you need to #include <sys/ucontext.h> instead of #include <ucontext.h>

Open catolm opened this issue 6 years ago • 5 comments

On some versions of MacOS you need to #include <sys/ucontext.h> instead of #include <ucontext.h>

catolm avatar Jul 30 '17 06:07 catolm

Do you have more information on pre-processor checks that can be used?

Lewiscowles1986 avatar Aug 03 '17 19:08 Lewiscowles1986

can you compile at all? i'm getting a lot of errors on 10.12

sinetek avatar Sep 05 '17 05:09 sinetek

@catolm excuse me but why?

Whats the difference between ucontext.h and sys/ucontext.h?

danke!

liuziangexit avatar Dec 11 '19 13:12 liuziangexit

probably just the symbolic link..

sre, 11. dec 2019. 14:27 liuziangexit [email protected] je napisao/la:

@catolm https://github.com/catolm excuse me but why?

Whats the difference between ucontext.h and sys/ucontext.h?

danke!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xoreaxeaxeax/sandsifter/issues/20?email_source=notifications&email_token=ABNCTCZDXJ5NXJJUTKYAQBLQYDTC5A5CNFSM4DU6HI52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTCZDY#issuecomment-564538511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNCTC3FGCW4IQXIS52W7S3QYDTC5ANCNFSM4DU6HI5Q .

sinetek avatar Dec 11 '19 18:12 sinetek

yeah i noticed that in some newer version of macOS(like 10.14), the ucontext won't work... it will gives you unexpected segfault. i have no idea with this.

liuziangexit avatar Dec 17 '19 02:12 liuziangexit