summaryrefslogtreecommitdiff
path: root/irmp.c
diff options
context:
space:
mode:
authorukw2014-07-01 07:54:14 +0000
committerukw2014-07-01 07:54:14 +0000
commit4a7dc859e27ad629f32a77237b6e6af4fb714603 (patch)
tree630268b039b0c9fb3aad4ad73df83138519bfb5e /irmp.c
parent535c925a846b0d459ec56c3f9065e01cf5976669 (diff)
downloadirmp-4a7dc859e27ad629f32a77237b6e6af4fb714603.zip
Version 2.5.5: IRMP port to PIC XC8 compiler
git-svn-id: svn://mikrocontroller.net/irmp@131 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmp.c')
-rw-r--r--irmp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/irmp.c b/irmp.c
index 09a3513..872b86c 100644
--- a/irmp.c
+++ b/irmp.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2009-2013 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmp.c,v 1.149 2014/06/05 21:00:06 fm Exp $
+ * $Id: irmp.c,v 1.150 2014/07/01 07:50:33 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -477,8 +477,13 @@ static int verbose;
#else
# define ANALYZE_PUTCHAR(a)
# define ANALYZE_ONLY_NORMAL_PUTCHAR(a)
-# define ANALYZE_PRINTF(...)
-# define ANALYZE_ONLY_NORMAL_PRINTF(...)
+# if defined(__XC8)
+# define ANALYZE_PRINTF(__VA_ARGS)
+# define ANALYZE_ONLY_NORMAL_PRINTF(__VA_ARGS)
+# else
+# define ANALYZE_PRINTF(...)
+# define ANALYZE_ONLY_NORMAL_PRINTF(...)
+# endif
# define ANALYZE_NEWLINE()
#endif