%ifndef WINICE_VERSION_MAJOR
%error please %define WINICE_VERSION_MAJOR
%endif

%ifndef WINICE_VERSION_MINOR
%error please %define WINICE_VERSION_MINOR
%endif


bits 32


segment _LDATA


%if WINICE_VERSION_MAJOR = 3
  %if WINICE_VERSION_MINOR = 22

	%include "w9xice3.22g.inc"

  %elif WINICE_VERSION_MINOR = 23

	%include "w9xice3.23g.inc"

  %elif WINICE_VERSION_MINOR = 24

	%include "w9xice3.24g.inc"

  %elif WINICE_VERSION_MINOR = 25

	%include "w9xice3.25g.inc"

  %else
  %error unsupported version
  %endif
%elif WINICE_VERSION_MAJOR = 4
  %if WINICE_VERSION_MINOR = 00

	%include "w9xice4.00g.inc"

  %elif WINICE_VERSION_MINOR = 01

	%include "w9xice4.01g.inc"

  %elif WINICE_VERSION_MINOR = 05
    %ifndef WINICE_BUILD
    %error please define WINICE_BUILD
    %endif
    %if WINICE_BUILD = 334

	%include "w9xice4.05.334g.inc"

    %elif WINICE_BUILD = 526

	%include "w9xice4.05.526g.inc"

    %else
    %error unsupported version
    %endif
  %elif WINICE_VERSION_MINOR = 21
    %ifndef WINICE_BUILD
    %error please define WINICE_BUILD
    %endif
    %if WINICE_BUILD = 53

	%include "w9xice4.21.53g.inc"

    %else
    %error unsupported version
    %endif
  %elif WINICE_VERSION_MINOR = 25
    %ifndef WINICE_BUILD
    %error please define WINICE_BUILD
    %endif
    %if WINICE_BUILD = 824

	%include "w9xice4.25.824g.inc"

    %else
    %error unsupported version
    %endif
  %elif WINICE_VERSION_MINOR = 26
    %ifndef WINICE_BUILD
    %error please define WINICE_BUILD
    %endif
    %if WINICE_BUILD = 922

	%include "w9xice4.26.922g.inc"

    %else
    %error unsupported version
    %endif
  %elif WINICE_VERSION_MINOR = 27
    %ifndef WINICE_BUILD
    %error please define WINICE_BUILD
    %endif
    %if WINICE_BUILD = 562

	%include "w9xice4.27.562g.inc"

    %else
    %error unsupported version
    %endif
  %else
  %error unsupported version
  %endif
%else
%error unsupported version
%endif
