Explorar el Código

Add size_t and ssize_t to kernel builds.

Andreas Kling hace 6 años
padre
commit
347e202f7f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      AK/Types.h

+ 3 - 0
AK/Types.h

@@ -10,6 +10,9 @@ typedef signed char signed_byte;
 typedef signed short signed_word;
 typedef signed int signed_dword;
 typedef signed long long int signed_qword;
+
+typedef dword size_t;
+typedef signed_dword ssize_t;
 #else
 #include <stdint.h>
 #include <sys/types.h>