[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] how to #include <twi.h> in 1.0.4 and 1.2.3 ?
From: |
Matthias Ringwald |
Subject: |
[avr-libc-dev] how to #include <twi.h> in 1.0.4 and 1.2.3 ? |
Date: |
Thu, 17 Feb 2005 20:31:02 +0100 |
hi
avr/twi.h was moved to compat/twi.h. so far, I'm fine.
but how do I change my sources in such a way that it can be compiled
either with avr-libc-1.0.4 and avr-libc-1.2.3 without changes or manual
editing ?
surely, I could check if a specific new 1.2.x function/macro is defined,
but that's ugly and error-prone.
Is there something like a #define avr-libc-version "1.2.0" that could
be used?
(and I could not find in five minutes browsing the /avr/include/* )
thanks and regards,
matthias ringwald
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] how to #include <twi.h> in 1.0.4 and 1.2.3 ?,
Matthias Ringwald <=