Catch missing CPU earlier.
[bertos.git] / cfg / cpu.h
index 6afa3fa0a349667242216ab7b5ecf5b1e1cda2f6..ab7617d285016790b7844e1c9d6bd87b188e7d61 100755 (executable)
--- a/cfg/cpu.h
+++ b/cfg/cpu.h
 
 /*#*
  *#* $Log$
+ *#* Revision 1.3  2005/04/12 04:06:17  bernie
+ *#* Catch missing CPU earlier.
+ *#*
+ *#* Revision 1.2  2005/04/11 19:10:27  bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
  *#* Revision 1.1  2005/04/11 19:04:13  bernie
  *#* Move top-level headers to cfg/ subdir.
  *#*
@@ -41,7 +47,7 @@
 #ifndef DEVLIB_CPU_H
 #define DEVLIB_CPU_H
 
-#include "compiler.h" /* for uintXX_t */
+#include <cfg/compiler.h> /* for uintXX_t */
 
 
 /*!
         */
        #define CPU_REG_INIT_VALUE(reg) (reg == 0 ? 0x80 : 0)
 
+#else
+       #error No CPU_... defined.
 #endif
 
 /*!