Skip to content

Commit

Permalink
[cage] ident #define properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Nov 21, 2014
1 parent 22dda06 commit 30ca8d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/gen/config_h/feature_h.in
Expand Up @@ -68,18 +68,18 @@ END_PRINT
if (@va_ptr_type@ eq 'register') {
print OUT <<'END_PRINT';
/* if defined __powerpc__ || defined __x86_64__ || defined __s390__ */
# define PARROT_VA_TO_VAPTR(x) (x)
#define PARROT_VA_TO_VAPTR(x) (x)
END_PRINT
}
if (@va_ptr_type@ eq 'stack') {
print OUT <<'END_PRINT';
# define PARROT_VA_TO_VAPTR(x) (&(x))
#define PARROT_VA_TO_VAPTR(x) (&(x))
END_PRINT
}

my $va_ptr_floatval = @va_ptr_floatval@;
print OUT <<"END_PRINT";
# define PARROT_VA_PTR_FLOATVAL $va_ptr_floatval
#define PARROT_VA_PTR_FLOATVAL $va_ptr_floatval
END_PRINT

print OUT <<'END_PRINT';
Expand Down

0 comments on commit 30ca8d3

Please sign in to comment.