require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_VIDEOMODE_H)) {
    eval 'sub _DEV_VIDEOMODE_H () {1;}' unless defined(&_DEV_VIDEOMODE_H);
    eval 'sub VID_PHSYNC () {0x1;}' unless defined(&VID_PHSYNC);
    eval 'sub VID_NHSYNC () {0x2;}' unless defined(&VID_NHSYNC);
    eval 'sub VID_PVSYNC () {0x4;}' unless defined(&VID_PVSYNC);
    eval 'sub VID_NVSYNC () {0x8;}' unless defined(&VID_NVSYNC);
    eval 'sub VID_INTERLACE () {0x10;}' unless defined(&VID_INTERLACE);
    eval 'sub VID_DBLSCAN () {0x20;}' unless defined(&VID_DBLSCAN);
    eval 'sub VID_CSYNC () {0x40;}' unless defined(&VID_CSYNC);
    eval 'sub VID_PCSYNC () {0x80;}' unless defined(&VID_PCSYNC);
    eval 'sub VID_NCSYNC () {0x100;}' unless defined(&VID_NCSYNC);
    eval 'sub VID_HSKEW () {0x200;}' unless defined(&VID_HSKEW);
    eval 'sub VID_BCAST () {0x400;}' unless defined(&VID_BCAST);
    eval 'sub VID_PIXMUX () {0x1000;}' unless defined(&VID_PIXMUX);
    eval 'sub VID_DBLCLK () {0x2000;}' unless defined(&VID_DBLCLK);
    eval 'sub VID_CLKDIV2 () {0x4000;}' unless defined(&VID_CLKDIV2);
}
1;
