Add error if RED_ZONE_SIZE doesn't get defined

This commit is contained in:
James Miller 2013-05-02 14:04:43 +12:00
parent d3e7c746dd
commit 1bd318421e

View file

@ -175,6 +175,10 @@
#define RED_ZONE_SIZE RZ_MAC_32 #define RED_ZONE_SIZE RZ_MAC_32
#endif #endif
#ifndef RED_ZONE_SIZE
# error "Red zone not defined for this platform"
#endif
struct frame_glue_fns { struct frame_glue_fns {
uintptr_t mark_glue_off; uintptr_t mark_glue_off;
uintptr_t drop_glue_off; uintptr_t drop_glue_off;