Current Path : /usr/local/lib/perl5/site_perl/5.8.9/mach/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/mach/stdarg.ph |
require '_h2ph_pre.ph'; no warnings 'redefine'; unless(defined(&_MACHINE_STDARG_H_)) { eval 'sub _MACHINE_STDARG_H_ () {1;}' unless defined(&_MACHINE_STDARG_H_); require 'sys/cdefs.ph'; require 'sys/_types.ph'; unless(defined(&_VA_LIST_DECLARED)) { eval 'sub _VA_LIST_DECLARED () {1;}' unless defined(&_VA_LIST_DECLARED); } if(defined(&__GNUCLIKE_BUILTIN_STDARG)) { eval 'sub va_start { my($ap, $last) = @_; eval q( &__builtin_va_start(($ap), ($last))); }' unless defined(&va_start); eval 'sub va_arg { my($ap, $type) = @_; eval q( &__builtin_va_arg(($ap), $type)); }' unless defined(&va_arg); eval 'sub __va_copy { my($dest, $src) = @_; eval q( &__builtin_va_copy(($dest), ($src))); }' unless defined(&__va_copy); if((defined(&__ISO_C_VISIBLE) ? &__ISO_C_VISIBLE : undef) >= 1999) { eval 'sub va_copy { my($dest, $src) = @_; eval q( &__va_copy($dest, $src)); }' unless defined(&va_copy); } eval 'sub va_end { my($ap) = @_; eval q( &__builtin_va_end($ap)); }' unless defined(&va_end); } elsif(defined( &lint)) { eval 'sub __va_size { my($type) = @_; eval q(((($sizeof{$type} + $sizeof{\'long\'} - 1) / $sizeof{\'long\'}) * $sizeof{\'long\'})); }' unless defined(&__va_size); eval 'sub va_start { my($ap, $last) = @_; eval q((($ap) = ( &va_list)($last) + &__va_size($last))); }' unless defined(&va_start); eval 'sub va_arg { my($ap, $type) = @_; eval q((*($type *)(($ap) += &__va_size($type), ($ap) - &__va_size($type)))); }' unless defined(&va_arg); eval 'sub va_end { my($ap) = @_; eval q(); }' unless defined(&va_end); } else { die("this\ file\ needs\ to\ be\ ported\ to\ your\ compiler"); } } 1;