[llvm-commits] [llvm] r81247 - in /llvm/trunk: include/llvm/System/Program.h lib/System/Unix/Program.inc lib/System/Win32/Program.inc

Sandeep Patel deeppatel1987 at gmail.com
Thu Sep 10 12:24:36 PDT 2009


On Thu, Sep 10, 2009 at 12:59 AM, Mikhail Glushenkov<foldr at codedgers.com> wrote:
>
> On Wed, Sep 09, 2009 at 11:47:19PM +0000, Sandeep Patel wrote:
>> This breaks i686-pc-mingw32 builds.
>>
>> GetProcessId() is only available in the MinGW winbase.h #if
>> (_WIN32_WINNT >= 0x0501) and lib/System/Win32/Win32.h has #define
>> _WIN32_WINNT 0x0500.
>
> Will it be OK if I'll use OpenProcess instead?

I'm not familiar enough with the Win32 APIs to answer definitively.

XP was released in 2001. It's not unreasonable to instead ask if LLVM
might want to target XP and later (0x0501) only.

deep



More information about the llvm-commits mailing list