X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=UDI%2Finclude%2Fudi.h;h=76dac7baac84e95cda42f0b735f4985c56b99e0b;hb=522f6081c5133562acbf438fd9c9fc0324b72ace;hp=e4ddb94b3ff0bfd6a9bd37f128b5c105b4d1cba1;hpb=9e64659133d3c12fb6e315ae8de74d9b912f90dd;p=tpg%2Facess2.git diff --git a/UDI/include/udi.h b/UDI/include/udi.h index e4ddb94b..76dac7ba 100644 --- a/UDI/include/udi.h +++ b/UDI/include/udi.h @@ -4,6 +4,16 @@ #ifndef _UDI_H_ #define _UDI_H_ +#ifndef UDI_VERSION +# error "Please define UDI_VERSION before including" +#endif +#if UDI_VERSION < 0x100 +# error "Requesting an unsupported UDI version (pre 1.0)" +#endif +#if UDI_VERSION > 0x101 +# error "Requesting an unsupported UDI version (post 1.01)" +#endif + #include #include @@ -123,5 +133,6 @@ typedef udi_op_t * const udi_ops_vector_t; #include "udi/meta_mgmt.h" // Management Metalanguage #include "udi/meta_gio.h" // General IO Metalanguage #include "udi/init.h" // Init +#include "udi/mei.h" // Init #endif