]> cloudbase.mooo.com Git - irmp.git/blobdiff - irmpsystem.h
Version 2.2.3: added support for ATtiny167
[irmp.git] / irmpsystem.h
index 395772b6b0abcb866a36e8fe29ea04bf39661a07..1e2e4df06852fdd1c414c95bada4280d5ee51ff6 100644 (file)
@@ -3,7 +3,7 @@
  *\r
  * Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de\r
  *\r
- * $Id: irmpsystem.h,v 1.5 2012/05/23 12:26:26 fm Exp $\r
+ * $Id: irmpsystem.h,v 1.6 2012/05/23 14:02:45 fm Exp $\r
  *\r
  * This program is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
 #ifdef UNIX_OR_WINDOWS                                                              // Analyze on Unix/Linux or Windows\r
 #  include <stdio.h>\r
 #  include <stdlib.h>\r
-#  include <stdint.h>\r
 #  define F_CPU 8000000L\r
 #  define ANALYZE\r
 #  define DEBUG\r
+#  ifdef unix\r
+#    include <stdint.h>\r
+#  else\r
+typedef unsigned char                   uint8_t;\r
+typedef unsigned short                  uint16_t;\r
+#  endif\r
 #endif\r
 \r
+\r
 #if defined(ATMEL_AVR)\r
 #  include <stdint.h>\r
 #  include <stdio.h>\r