1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

AK: Make it possible to not using AK classes into the global namespace

This patch adds the `USING_AK_GLOBALLY` macro which is enabled by
default, but can be overridden by build flags.

This is a step towards integrating Jakt and AK types.
This commit is contained in:
Andreas Kling 2022-11-26 12:18:30 +01:00
parent e50a43652e
commit ae3ffdd521
124 changed files with 276 additions and 12 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2018-2022, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, Nico Weber <thakis@chromium.org>
*
* SPDX-License-Identifier: BSD-2-Clause
@ -7,6 +7,10 @@
#pragma once
#ifndef USING_AK_GLOBALLY
# define USING_AK_GLOBALLY 1
#endif
#ifdef __i386__
# define AK_ARCH_I386 1
#endif