Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Foundation/StroikaPreComp.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Foundation_StroikaPreComp_h_
5#define _Stroika_Foundation_StroikaPreComp_h_ 1
6
7#include "Stroika/Foundation/Common/StroikaConfig.h"
8
9#if defined(__cplusplus)
10// Declare the namespaces so code early on can freely say stuff like "uses namespace Stroika"
11namespace Stroika::Foundation {
12}
13#endif
14
15/*
16 * @see Valgrind.h header for more details. But this should be SAFE and REQUIRED
17 * to include very early on.
18 *
19 * Must be included before libg++ stuff (e.g. <shared_ptr>)
20 */
21#if defined(__cplusplus) || defined(__STDC__)
23#endif
24
25#endif /*_Stroika_Foundation_StroikaPreComp_h_*/
Include this file VERY EARLY ON - before including stuff like <cstdio> - to allow use of Valgrind (so...