mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 04:09:48 +00:00
Fix for #74
This commit is contained in:
parent
aff98cdb9e
commit
ae83e7fcde
24
cctools/include/foreign/i386/_mcontext.h
Normal file
24
cctools/include/foreign/i386/_mcontext.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifdef __APPLE__
|
||||
|
||||
/*
|
||||
* This is an awful fix for #74 and should
|
||||
* cause compile errors once the struct is used
|
||||
* for real.
|
||||
*/
|
||||
|
||||
#ifndef __M_CONTEXT_FIX__
|
||||
#define __M_CONTEXT_FIX__
|
||||
|
||||
struct x86_thread_full_state64{};
|
||||
|
||||
#ifdef _STRUCT_X86_THREAD_FULL_STATE64
|
||||
#error FIXME
|
||||
#endif
|
||||
|
||||
#define _STRUCT_X86_THREAD_FULL_STATE64 struct x86_thread_full_state64
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
#include_next <i386/_mcontext.h>
|
Loading…
Reference in New Issue
Block a user