Moved std stuff to std.h

This commit is contained in:
Alex
2022-12-29 02:05:40 +02:00
parent e53bc14240
commit c04c544470
2 changed files with 19 additions and 12 deletions

18
include/std.hpp Normal file
View File

@ -0,0 +1,18 @@
#ifndef __FENNIX_KERNEL_STD_H__
#define __FENNIX_KERNEL_STD_H__
#include <types.h>
/**
* @brief // stub namespace for std::align_val_t and new operator
* @note // Found on https://gcc.gnu.org/legacy-ml/gcc-patches/2016-09/msg00628.html for "_ZnwmSt11align_val_t" compiler error
*/
namespace std
{
typedef __SIZE_TYPE__ size_t;
enum class align_val_t : std::size_t
{
};
}
#endif // !__FENNIX_KERNEL_STD_H__