diff options
Diffstat (limited to 'executor/common_fuchsia.h')
| -rw-r--r-- | executor/common_fuchsia.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index 19bdd280c..cb29f715e 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -272,3 +272,7 @@ static int do_sandbox_none(void) return 0; } #endif + +// Ugly way to work around gcc's "error: function called through a non-compatible type". +// The macro is used in generated C code. +#define CAST(f) ({void* p = (void*)f; p; }) |
