summaryrefslogtreecommitdiff
path: root/n/avr
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr')
-rw-r--r--n/avr/common/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/n/avr/common/io.h b/n/avr/common/io.h
index 920d9ff..57c453d 100644
--- a/n/avr/common/io.h
+++ b/n/avr/common/io.h
@@ -36,6 +36,8 @@
#else /* HOST */
+/* Same as on AVR. */
+#define _BV(x) (1<<(x))
/* No interrupt support on host. */
#define sei()
#define cli()