summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/include/bitsize/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/com32/include/bitsize/stddef.h')
-rw-r--r--contrib/syslinux-4.02/com32/include/bitsize/stddef.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/com32/include/bitsize/stddef.h b/contrib/syslinux-4.02/com32/include/bitsize/stddef.h
new file mode 100644
index 0000000..caa5e72
--- /dev/null
+++ b/contrib/syslinux-4.02/com32/include/bitsize/stddef.h
@@ -0,0 +1,18 @@
+/*
+ * bits32/stddef.h
+ */
+
+#ifndef _BITSIZE_STDDEF_H
+#define _BITSIZE_STDDEF_H
+
+#define _SIZE_T
+#if defined(__s390__) || defined(__hppa__) || defined(__cris__)
+typedef unsigned long size_t;
+#else
+typedef unsigned int size_t;
+#endif
+
+#define _PTRDIFF_T
+typedef signed int ptrdiff_t;
+
+#endif /* _BITSIZE_STDDEF_H */