line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Devel::AssertOS::HWCapabilities::Int32; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
17
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
65
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
73
|
|
5
|
2
|
|
|
2
|
|
11
|
no warnings 'redefine'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
69
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
11
|
use Devel::CheckOS; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
80
|
|
8
|
2
|
|
|
2
|
|
13
|
use Config; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
313
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.0'; |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
|
203
|
sub os_is { $Config{ivsize} == 4 } |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
|
|
sub expn { "Your perl was built with support 32 bit integers" } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Devel::CheckOS::die_unsupported() unless(os_is()); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENCE |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Copyright 2023 David Cantrell |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |