summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorGravatar aeb 2000-05-28 21:00:56 +0000
committerGravatar aeb 2000-05-28 21:00:56 +0000
commit8942a29ac1c6b575e0eb93d903097be60c2276e2 (patch)
treefba2bad931759dd0d79217041e8de955ba0cfdb3 /acconfig.h
parentFixed missing setting of ext code in raw1394_start_lock() (diff)
Added support for environments with 64 bit kernel and 32 bit userland.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@26 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
new file mode 100644
index 0000000..30f96b6
--- /dev/null
+++ b/acconfig.h
@@ -0,0 +1,13 @@
+
+/* Define if kernel is 64 bit and userland is 32 bit */
+#undef KERNEL64_USER32
+
+@BOTTOM@
+
+#include <sys/types.h>
+
+#ifdef KERNEL64_USER32
+typedef u_int64_t kptr_t;
+#else
+typedef void *kptr_t;
+#endif