diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-12-07 12:20:47 -0800 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-12-07 12:20:47 -0800 |
commit | 8e912657e87549fb4d4cf05ab72d7cc4101ad066 (patch) | |
tree | 88bc0797a334a12a5d47be052ad0e125773e0858 /indra/llvfs/llpidlock.cpp | |
parent | ee159d8e742a7281f304fc45b692c111706d294e (diff) | |
parent | bf4f21ecf87f9733ae25a2b9ae358efa0c654173 (diff) |
Another merge of include dependency cleanup work with viewer-2-0.
Diffstat (limited to 'indra/llvfs/llpidlock.cpp')
-rwxr-xr-x | indra/llvfs/llpidlock.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llvfs/llpidlock.cpp b/indra/llvfs/llpidlock.cpp index 315baa001d..95e3692e10 100755 --- a/indra/llvfs/llpidlock.cpp +++ b/indra/llvfs/llpidlock.cpp @@ -41,6 +41,15 @@ #include "llframetimer.h" #if LL_WINDOWS //For windows platform. + +#include <windows.h> + +namespace { + inline DWORD getpid() { + return GetCurrentProcessId(); + } +} + bool isProcessAlive(U32 pid) { return (bool) GetProcessVersion((DWORD)pid); |