%ifndef INCLUDED_WIAT_INC
%define INCLUDED_WIAT_INC

%ifndef WINICE_VERSION_MAJOR
%error please %define WINICE_VERSION_MAJOR
%endif

%ifndef WINICE_VERSION_MINOR
%error please %define WINICE_VERSION_MINOR
%endif

%if WINICE_VERSION_MAJOR = 3
  %if WINICE_VERSION_MINOR = 22

	%include "w9xice3.22e.inc"

  %elif WINICE_VERSION_MINOR = 23

	%include "w9xice3.23e.inc"

  %elif WINICE_VERSION_MINOR = 24

	%include "w9xice3.24e.inc"

  %elif WINICE_VERSION_MINOR = 25

	%include "w9xice3.25e.inc"
  %else
  %error unsupported version
  %endif
%elif WINICE_VERSION_MAJOR = 4
  %if WINICE_VERSION_MINOR = 00

	%include "w9xice4.00e.inc"

  %elif WINICE_VERSION_MINOR = 01

	%include "w9xice4.01e.inc"

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

	%include "w9xice4.05.334e.inc"

    %elif WINICE_BUILD = 526

	%include "w9xice4.05.526e.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.53e.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.824e.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.922e.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.562e.inc"

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

%endif