[all-commits] [llvm/llvm-project] 8b6b88: [flang] allow _POSIX_SOURCE to be defined without ...

Kelvin Li via All-commits all-commits at lists.llvm.org
Mon Jan 15 13:55:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b6b882f27e86bae717ffcbaef6da3f00af86003
      https://github.com/llvm/llvm-project/commit/8b6b882f27e86bae717ffcbaef6da3f00af86003
  Author: Kelvin Li <kkwli at users.noreply.github.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M flang/runtime/extensions.cpp
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] allow _POSIX_SOURCE to be defined without a value (#78179)

The `_POSIX_SOURCE` macro is defined without a value on AIX. Change the check to `defined(_POSIX_SOURCE)`.




More information about the All-commits mailing list