mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 19:52:59 +00:00
[VCRUNTIME] Move compiler runtime headers into their own folder
These headers come with the MS compiler. Some of them are standard, like emmintrin.h, others are MS specific like crtdefs.h This separation will allow using MS CRT headers. Eventually it can allow compiling with the compilers' runtime headers.
This commit is contained in:
parent
7b2bb7ecc8
commit
84344399b5
39 changed files with 2 additions and 1 deletions
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
* PROJECT: ReactOS PSDK
|
||||
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||||
* PURPOSE: Standard Annotation Language (SAL) definitions - GCC overrides
|
||||
* COPYRIGHT: 2021 - Jérôme Gardou
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef __GNUC__
|
||||
#error "Not for your compiler!"
|
||||
#endif
|
||||
|
||||
#ifndef __has_attribute
|
||||
#pragma GCC warning "GCC without __has_attribute, no SAL niceties for you"
|
||||
#define __has_attribute(__x) 0
|
||||
#endif
|
||||
|
||||
#if __has_attribute(warn_unused_result)
|
||||
# undef _Must_inspect_result_
|
||||
/* FIXME: Not really equivalent */
|
||||
# define _Must_inspect_result_ __attribute__((__warn_unused_result__))
|
||||
# undef _Check_return_
|
||||
/* This one is 1:1 equivalent */
|
||||
# define _Check_return_ __attribute__((__warn_unused_result__))
|
||||
#endif
|
File diff suppressed because it is too large
Load diff
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* PROJECT: ReactOS PSDK
|
||||
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||||
* PURPOSE: Standard Annotation Language (SAL) definitions
|
||||
* COPYRIGHT: 2021 - Jérôme Gardou
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Include MS version first */
|
||||
#include "ms_sal.h"
|
||||
|
||||
/* Some overrides with GCC attributes */
|
||||
#ifdef __GNUC__
|
||||
#include "gcc_sal.h"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue