diff options
| author | Ian Anderson <iana@apple.com> | 2024-07-23 13:02:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 13:02:59 -0700 |
| commit | 92a9d4831d5e40c286247c30fcd794563adbef6e (patch) | |
| tree | 620f636a0f9234bc2491b16d88abc506d784fc4f /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | d19e71db8a3de65de5da5d5bc4e1f9c1020c574c (diff) | |
[clang][headers] Including stddef.h always redefines NULL (#99727)
stddef.h always includes __stddef_null.h. This is fine in modules
because it's not possible to re-include the pcm, and it's necessary to
export the _Builtin_stddef.null submodule. However, without modules it
causes NULL to always get redefined which disrupts some C++ code. Rework
the inclusion of __stddef_null.h so that with not building with modules
it's only included if __need_NULL is set by the includer, or it's the
first time stddef.h is being included.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
