aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-08 03:00:38 +0900
committernsfisis <nsfisis@gmail.com>2026-01-08 03:00:38 +0900
commit7a3070ee929e87d03a9e0aee8e368347f4e1d187 (patch)
treea721bcf8d8a1d2a665125f76edd9de1e047386ae /include
parent09b9a73c2d8abcd8d459a0e412fa4bef5f4ded95 (diff)
downloadducc-7a3070ee929e87d03a9e0aee8e368347f4e1d187.tar.gz
ducc-7a3070ee929e87d03a9e0aee8e368347f4e1d187.tar.zst
ducc-7a3070ee929e87d03a9e0aee8e368347f4e1d187.zip
feat: define ptrdiff_t in <stddef.h>
Diffstat (limited to 'include')
-rw-r--r--include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stddef.h b/include/stddef.h
index 1344053..5ebdf7a 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -5,11 +5,11 @@
typedef unsigned long size_t;
typedef int wchar_t;
+typedef long ptrdiff_t;
// TODO:
// - max_align_t (C11)
// - nullptr_t (C23)
// - offsetof
-// - ptrdiff_t
#endif