summaryrefslogtreecommitdiff
path: root/irmpsystem.h
diff options
context:
space:
mode:
authorukw2012-05-23 14:02:38 +0000
committerukw2012-05-23 14:02:38 +0000
commit0684a302c91aeef3943800de9bfd1f323a6ec744 (patch)
treeb4ed30129277013d40228da5d5a55c185706d94e /irmpsystem.h
parent08f2dd9d18830e4671dd99ac04569c6dd9895b98 (diff)
downloadirmp-0684a302c91aeef3943800de9bfd1f323a6ec744.zip
Version 2.0: STM32-Port and Windows Executables
git-svn-id: svn://mikrocontroller.net/irmp@97 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmpsystem.h')
-rw-r--r--irmpsystem.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/irmpsystem.h b/irmpsystem.h
index 395772b..1e2e4df 100644
--- a/irmpsystem.h
+++ b/irmpsystem.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmpsystem.h,v 1.5 2012/05/23 12:26:26 fm Exp $
+ * $Id: irmpsystem.h,v 1.6 2012/05/23 14:02:45 fm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -49,12 +49,18 @@
#ifdef UNIX_OR_WINDOWS // Analyze on Unix/Linux or Windows
# include <stdio.h>
# include <stdlib.h>
-# include <stdint.h>
# define F_CPU 8000000L
# define ANALYZE
# define DEBUG
+# ifdef unix
+# include <stdint.h>
+# else
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+# endif
#endif
+
#if defined(ATMEL_AVR)
# include <stdint.h>
# include <stdio.h>