Quellcode durchsuchen

[libc][dlib] Add missing definition of mode_t

For using pthread with IAR tool chain
Arda vor 10 Jahren
Ursprung
Commit
53c85fb989
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      components/libc/dlib/sys/types.h

+ 2 - 0
components/libc/dlib/sys/types.h

@@ -9,4 +9,6 @@ typedef rt_int32_t key_t;       /* Used for interprocess communication. */
 typedef rt_int32_t pid_t;       /* Used for process IDs and process group IDs. */
 typedef signed long ssize_t;    /* Used for a count of bytes or an error indication. */
 
+typedef int mode_t;
+
 #endif