Skip to content

Commit

Permalink
Support LLP64 (for future win64 support)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug committed Jun 28, 2012
1 parent 4bc1a68 commit 0bd25a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion standard.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Modified a bit for Success::Token
#ifndef STANDARD
# define STANDARD

// Support both ILP32 and LP64
// Support ILP32, LP64, and LLP64
typedef unsigned int ub4;
typedef int word;

Expand Down
5 changes: 3 additions & 2 deletions t/00-system.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ diag("System: $^O - $system_info");
ok($^O !~ /mswin/i, 'MS windows not currently supported');

ok(($int_size == 4 && $long_size == 4 && $pointer_size == 4) ||
($int_size == 4 && $long_size == 8 && $pointer_size == 8),
'only ILP32 and LP64 are supported');
($int_size == 4 && $long_size == 8 && $pointer_size == 8) ||
($int_size == 4 && $long_size == 4 && $pointer_size == 8),
'only ILP32, LP64, and LLP64 are supported');

0 comments on commit 0bd25a8

Please sign in to comment.