summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2005-05-31 20:00:51 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2005-05-31 20:00:51 +0000
commit5d72fa84f540dd5a846e60b0adab2a5c11f026f8 (patch)
tree8a7d61f8073650d4858dc20b5884350acd2900ed /dev-embedded/avr-libc/files
parentStable on hppa (diff)
downloadgentoo-2-5d72fa84f540dd5a846e60b0adab2a5c11f026f8.tar.gz
gentoo-2-5d72fa84f540dd5a846e60b0adab2a5c11f026f8.tar.bz2
gentoo-2-5d72fa84f540dd5a846e60b0adab2a5c11f026f8.zip
Compile fix wrt #94660
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-embedded/avr-libc/files')
-rw-r--r--dev-embedded/avr-libc/files/avr-libc-macros.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-embedded/avr-libc/files/avr-libc-macros.patch b/dev-embedded/avr-libc/files/avr-libc-macros.patch
new file mode 100644
index 000000000000..9c9e5efcaf88
--- /dev/null
+++ b/dev-embedded/avr-libc/files/avr-libc-macros.patch
@@ -0,0 +1,18 @@
+diff -Nura avr-libc-1.2.3/common/macros.inc avr-libc-1.2.3.crossdev/common/macros.inc
+--- avr-libc-1.2.3/common/macros.inc 2004-11-01 18:19:54.000000000 -0300
++++ avr-libc-1.2.3.crossdev/common/macros.inc 2005-05-31 16:11:36.000000000 -0300
+@@ -35,6 +35,9 @@
+ Created by Marek Michalkiewicz <marekm@linux.org.pl>
+ */
+
++#ifndef _MACROS_INC
++#define _MACROS_INC
++
+ #include <avr/io.h>
+
+ /* if not defined, assume old version with underscores */
+@@ -219,3 +222,4 @@
+ #endif
+ .endm
+
++#endif