Commit 3310f7f1 authored by Ben Gamari's avatar Ben Gamari 🐢

InfoTables: Fix #if uses introduced by D4634

parent 01bb17fd
......@@ -335,7 +335,7 @@ typedef struct StgConInfoTable_ {
* info must be a Stg[Ret|Thunk]InfoTable* (an info table that has a SRT)
*/
#if defined(TABLES_NEXT_TO_CODE)
#if x86_64_TARGET_ARCH
#if defined(x86_64_TARGET_ARCH)
#define GET_SRT(info) \
((StgClosure*) (((StgWord) ((info)+1)) + (info)->i.srt))
#else
......@@ -362,7 +362,7 @@ typedef struct StgConInfoTable_ {
* info must be a StgFunInfoTable*
*/
#if defined(TABLES_NEXT_TO_CODE)
#if x86_64_TARGET_ARCH
#if defined(x86_64_TARGET_ARCH)
#define GET_FUN_SRT(info) \
((StgClosure*) (((StgWord) ((info)+1)) + (info)->i.srt))
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment