%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
  %else
  %error unsupported version
  %endif
%endif

%endif