summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-10 14:38:15 +0200
committerMartin Mares <mj@ucw.cz>2000-04-10 14:38:15 +0200
commitf2cb1d708dc5de4167a3dc12b50001391d01f5f0 (patch)
treee1141e023f7df65c402c85196aa268d92c996d07 /sysdep
parent48e842cc98b1436da57c8682c6c8414ba379ed7c (diff)
downloadbird-f2cb1d708dc5de4167a3dc12b50001391d01f5f0.tar
bird-f2cb1d708dc5de4167a3dc12b50001391d01f5f0.zip
Dropped CPU_NEEDS_ALIGN_* as unaligned.h no longer uses them.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/config.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sysdep/config.h b/sysdep/config.h
index 08526c8..2b4a49d 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -29,17 +29,6 @@ typedef u16 word;
#endif
-/*
- * Required alignment for multi-byte accesses. We currently don't
- * test these values in configure script, because several CPU's
- * have unaligned accesses emulated by OS and they are slower
- * than a call to memcpy() which is, in fact, often compiled
- * as load/store by GCC on machines which don't require alignment.
- */
-
-#define CPU_NEEDS_ALIGN_WORD 2
-#define CPU_NEEDS_ALIGN_LONG 4
-
/* Path to configuration file */
#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"