require '_h2ph_pre.ph';

unless(defined(&_LINUX_SISFB)) {
    eval 'sub _LINUX_SISFB () {1;}' unless defined(&_LINUX_SISFB);
    eval 'sub MASK_DISPTYPE_CRT2 () {0x4;}' unless defined(&MASK_DISPTYPE_CRT2);
    eval 'sub MASK_DISPTYPE_LCD () {0x2;}' unless defined(&MASK_DISPTYPE_LCD);
    eval 'sub MASK_DISPTYPE_TV () {0x1;}' unless defined(&MASK_DISPTYPE_TV);
    eval 'sub MASK_DISPTYPE_DISP2 () {( &MASK_DISPTYPE_LCD |  &MASK_DISPTYPE_TV |  &MASK_DISPTYPE_CRT2);}' unless defined(&MASK_DISPTYPE_DISP2);
    eval 'sub DISPTYPE_CRT1 () {0x8;}' unless defined(&DISPTYPE_CRT1);
    eval 'sub DISPTYPE_CRT2 () {0x4;}' unless defined(&DISPTYPE_CRT2);
    eval 'sub DISPTYPE_LCD () {0x2;}' unless defined(&DISPTYPE_LCD);
    eval 'sub DISPTYPE_TV () {0x1;}' unless defined(&DISPTYPE_TV);
    eval 'sub DISPTYPE_DISP1 () { &DISPTYPE_CRT1;}' unless defined(&DISPTYPE_DISP1);
    eval 'sub DISPTYPE_DISP2 () {( &DISPTYPE_CRT2 |  &DISPTYPE_LCD |  &DISPTYPE_TV);}' unless defined(&DISPTYPE_DISP2);
    eval 'sub DISPMODE_SINGLE () {0x20;}' unless defined(&DISPMODE_SINGLE);
    eval 'sub DISPMODE_MIRROR () {0x10;}' unless defined(&DISPMODE_MIRROR);
    eval 'sub DISPMODE_DUALVIEW () {0x40;}' unless defined(&DISPMODE_DUALVIEW);
    eval 'sub HASVB_NONE () {0;}' unless defined(&HASVB_NONE);
    eval 'sub HASVB_301 () {1;}' unless defined(&HASVB_301);
    eval 'sub HASVB_LVDS () {2;}' unless defined(&HASVB_LVDS);
    eval 'sub HASVB_TRUMPION () {3;}' unless defined(&HASVB_TRUMPION);
    eval 'sub HASVB_LVDS_CHRONTEL () {4;}' unless defined(&HASVB_LVDS_CHRONTEL);
    eval 'sub HASVB_LVDS_ALL () {( &HASVB_LVDS |  &HASVB_TRUMPION |  &HASVB_LVDS_CHRONTEL);}' unless defined(&HASVB_LVDS_ALL);
    eval("sub TVMODE_NTSC () { 0; }") unless defined(&TVMODE_NTSC);
    eval("sub TVMODE_PAL () { 1; }") unless defined(&TVMODE_PAL);
    eval("sub TVMODE_HIVISION () { 2; }") unless defined(&TVMODE_HIVISION);
    eval("sub TVMODE_TOTAL () { 3; }") unless defined(&TVMODE_TOTAL);
    eval("sub TVPLUG_UNKNOWN () { 0; }") unless defined(&TVPLUG_UNKNOWN);
    eval("sub TVPLUG_COMPOSITE () { 1; }") unless defined(&TVPLUG_COMPOSITE);
    eval("sub TVPLUG_SVIDEO () { 2; }") unless defined(&TVPLUG_SVIDEO);
    eval("sub TVPLUG_SCART () { 3; }") unless defined(&TVPLUG_SCART);
    eval("sub TVPLUG_TOTAL () { 4; }") unless defined(&TVPLUG_TOTAL);
    eval("sub SiS_UNKNOWN () { 0; }") unless defined(&SiS_UNKNOWN);
    eval("sub SiS_300 () { 1; }") unless defined(&SiS_300);
    eval("sub SiS_540 () { 2; }") unless defined(&SiS_540);
    eval("sub SiS_630 () { 3; }") unless defined(&SiS_630);
    eval("sub SiS_630S () { 4; }") unless defined(&SiS_630S);
    eval("sub SiS_730 () { 5; }") unless defined(&SiS_730);
}
1;
