aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/include/stdint.h
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-18 17:23:25 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-18 17:23:25 +0100
commit619fa016bbc4ddd8d4a670cf3f8aa63617473b2f (patch)
tree3b526a071b715452beadf168e3c6fc898b5fe48c /libpsn00b/include/stdint.h
parent8b6a76055ca426c494e16042e21f5e19b870b2ac (diff)
downloadpsn00bsdk-619fa016bbc4ddd8d4a670cf3f8aa63617473b2f.tar.gz
Deprecated malloc.h, moved int*_t types to stdint.h
Diffstat (limited to 'libpsn00b/include/stdint.h')
-rw-r--r--libpsn00b/include/stdint.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libpsn00b/include/stdint.h b/libpsn00b/include/stdint.h
new file mode 100644
index 0000000..83acb00
--- /dev/null
+++ b/libpsn00b/include/stdint.h
@@ -0,0 +1,16 @@
+#ifndef _STDINT_H
+#define _STDINT_H
+
+typedef unsigned int size_t;
+
+typedef char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long uint64_t;
+
+#endif // _STDINT_H \ No newline at end of file