git » nmdb » commit 6fd22de

Add x86 support in D bindings.

author Alberto Bertogli
2007-03-31 23:16:18 UTC
committer Alberto Bertogli
2007-03-31 23:16:18 UTC
parent 051bc59ecc4e603b106c5427a3b225c4a11da2b5

Add x86 support in D bindings.

d/nmdb_ll.d +6 -0

diff --git a/d/nmdb_ll.d b/d/nmdb_ll.d
index e3ee112..d0c0c75 100644
--- a/d/nmdb_ll.d
+++ b/d/nmdb_ll.d
@@ -18,6 +18,12 @@ module nmdb_ll;
  * Should nmdb_t change, the numbers must be updated to reflect the new sizes.
  */
 
+version (X86) {
+	/* Generated on a Pentium II running Ubuntu. It should be the same on
+	 * all x86 Linux boxes. */
+	alias ubyte[12] nmdb_t;
+}
+
 version (X86_64) {
 	/* Generated on a Pentium D running Gentoo in 64 bits mode. It should
 	 * be the same on all Linux amd64 boxes. */