Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Valgrind.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4
5#if defined(__cplusplus)
6namespace Stroika::Foundation::Debug {
7
8 /*
9 ********************************************************************************
10 ***************************** IsRunningUnderValgrind ***************************
11 ********************************************************************************
12 */
13 inline bool IsRunningUnderValgrind ()
14 {
15#if qStroika_FeatureSupported_Valgrind
16 return RUNNING_ON_VALGRIND;
17#else
18 return false;
19#endif
20 }
21
22}
23#endif
bool IsRunningUnderValgrind()