木头云 b9dd75ccd9 fix(platform): rename linux/posix namespaces to avoid predefined macro conflict
Problem:
- 'linux' is a predefined macro on Linux platforms
- Using 'namespace linux' causes compilation errors
- Preprocessor replaces 'linux' with '1' before compilation

Solution:
- Rename 'namespace linux' to 'namespace linux_'
- Rename 'namespace posix' to 'namespace posix_'
- Update all 7 call sites accordingly:
  - linux/condition.h:  linux_::detail::make_timespec()
  - linux/mutex.h:      linux_::detail::make_timespec() (2 places)
  - posix/condition.h:  posix_::detail::make_timespec()
  - posix/mutex.h:      posix_::detail::make_timespec() (2 places)
  - posix/semaphore_impl.h: posix_::detail::make_timespec()

This prevents preprocessor macro expansion issues while maintaining
the ODR violation fix from the previous commit.
2025-11-30 07:07:14 +00:00
..
condition.h fix(platform): rename linux/posix namespaces to avoid predefined macro conflict 2025-11-30 07:07:14 +00:00
get_wait_time.h fix(platform): rename linux/posix namespaces to avoid predefined macro conflict 2025-11-30 07:07:14 +00:00
mutex.h fix(platform): rename linux/posix namespaces to avoid predefined macro conflict 2025-11-30 07:07:14 +00:00
semaphore_impl.h fix(platform): rename linux/posix namespaces to avoid predefined macro conflict 2025-11-30 07:07:14 +00:00
shm_posix.cpp posix shm open 失败时如果文件不存在打印log #2 修改逻辑错误 2025-03-07 12:33:42 +08:00