Help for this page

Select Code to Download


  1. or download this
    $ perl -V:timeincl
    timeincl='/usr/include/x86_64-linux-gnu/sys/time.h /usr/include/time.h
    + ';
    
  2. or download this
    use 5.010;
    use strict;
    ...
    )->Define('__WORDSIZE=64');
    $c->parse_file('/usr/include/x86_64-linux-gnu/sys/time.h');
    my $timeval = $c->pack( 'struct timeval', { tv_sec => 1, tv_usec => 0 
    +} );
    
  3. or download this
    bits/wordsize.h, line 7: macro '__WORDSIZE' redefined unidentically
        included from /usr/include/x86_64-linux-gnu//sys/cdefs.h:378
        included from /usr/include/features.h:357
        included from /usr/include/x86_64-linux-gnu/sys/time.h:23 at pack_
    +timeval2.pl line 10.