Module Name: othersrc
Committed By: dyoung
Date: Wed Sep 16 21:07:44 UTC 2015
Added Files:
othersrc/external/bsd/arfe/dt: portability.h
Log Message:
Straggler from previous: add file dt/portability.h.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/dt/portability.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: othersrc/external/bsd/arfe/dt/portability.h
diff -u /dev/null othersrc/external/bsd/arfe/dt/portability.h:1.1
--- /dev/null Wed Sep 16 21:07:44 2015
+++ othersrc/external/bsd/arfe/dt/portability.h Wed Sep 16 21:07:44 2015
@@ -0,0 +1,4 @@
+#ifndef __NetBSD__
+#define __aligned(__x) /* */
+#define __arraycount(__x) (sizeof(__x) / sizeof(__x[0]))
+#endif