nuttx/include/sys
YAMAMOTO Takashi e99e185712 Don't typedef wchar_t for C++
wchar_t is a builtin type in C++.

clang complains like the following even with -fshort-wchar:

    error: cannot combine with previous 'type-name' declaration specifier

my clang version if it matters:

    spacetanuki% clang++ --version
    Apple clang version 11.0.0 (clang-1100.0.33.17)
    Target: x86_64-apple-darwin18.7.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
    spacetanuki% clang++ -dM -E - < /dev/null | grep WCHAR
    #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __SIZEOF_WCHAR_T__ 4
    #define __WCHAR_MAX__ 2147483647
    #define __WCHAR_TYPE__ int
    #define __WCHAR_WIDTH__ 32
    spacetanuki% clang++ -fshort-wchar -dM -E - < /dev/null | grep WCHAR
    #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __SIZEOF_WCHAR_T__ 2
    #define __WCHAR_MAX__ 65535
    #define __WCHAR_TYPE__ unsigned short
    #define __WCHAR_UNSIGNED__ 1
    #define __WCHAR_WIDTH__ 16
    spacetanuki%
2020-11-01 18:19:13 -08:00
..
boardctl.h Fix typos 2020-05-14 10:49:44 -06:00
custom_file.h
epoll.h sys/epoll: include-able from C++ files 2020-09-18 19:51:55 -07:00
eventfd.h fs/vfs: Add file descriptor based events support 2020-07-31 15:09:35 -06:00
file.h
ioctl.h fs: Remove all LIBC_IOCTL_VARIADIC related stuff 2020-05-05 08:27:58 -06:00
ipc.h
mman.h fs/munmap: export the symbols to avoid build break on C++ syntax 2020-09-18 20:05:10 -07:00
mount.h fs: Add nx_mount/nx_umount2 function 2020-05-08 07:20:49 -06:00
param.h
prctl.h syscall/prctl: fix PR_SET_NAME failure if without <pid> arg 2020-07-01 21:52:18 -05:00
random.h
resource.h
select.h
sendfile.h
shm.h
socket.h net/socket: add SOCK_CLOEXEC/SOCK_NONBLOCK support 2020-08-17 23:38:18 -05:00
sockio.h
stat.h Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
statfs.h
statvfs.h fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
syscall_lookup.h drivers/pipes: nx_pipe syscall takes three params, also use nx_close on error path 2020-10-28 09:11:05 -07:00
syscall.h Add g_funcnames declaration in syscall.h 2020-07-22 12:01:40 -05:00
time.h libs/libc/time: add stub for futimes/ns(2) 2020-09-19 03:20:09 -07:00
types.h Don't typedef wchar_t for C++ 2020-11-01 18:19:13 -08:00
uio.h
un.h
utsname.h
vfs.h
wait.h