Commits on Source (5)
-
Steve Lhomme authored
They should exist for gcc and clang. We could also use __has_c_attribute() and the [[]] C23 notation when available.
072f13a8 -
Steve Lhomme authored4e881071
-
Steve Lhomme authored
Leave VLC_DEPRECATED_ENUM, VLC_FORMAT and VLC_FORMAT_ARG for now as they are more compiler specific.
0ef98375 -
Steve Lhomme authored
It exists in very old gcc and clang. VLC_WARN_CALL/VLC_ERROR_CALL may not warn though. Don't define check_delay/check_deadline otherwise and don't force the vlc_tick_sleep/vlc_tick_wait calls.
c9cf3e67 -
Steve Lhomme authored
Some platforms may not accept longer names or will truncate it, so we stick to that size. It should work with gcc at least. It also works with LLVM14.
a45953d0
Showing
- include/vlc_common.h 82 additions, 46 deletionsinclude/vlc_common.h
- include/vlc_threads.h 29 additions, 13 deletionsinclude/vlc_threads.h
- src/darwin/thread.c 1 addition, 1 deletionsrc/darwin/thread.c
- src/freebsd/thread.c 1 addition, 1 deletionsrc/freebsd/thread.c
- src/linux/thread.c 1 addition, 1 deletionsrc/linux/thread.c
- src/os2/thread.c 1 addition, 1 deletionsrc/os2/thread.c
- src/posix/thread.c 1 addition, 1 deletionsrc/posix/thread.c
- src/win32/thread.c 1 addition, 1 deletionsrc/win32/thread.c