diff options
| author | Marcel Braun <marcel.braun@ost.ch> | 2026-05-25 10:15:21 +0200 |
|---|---|---|
| committer | Marcel Braun <marcel.braun@ost.ch> | 2026-05-25 10:15:21 +0200 |
| commit | 2063d3e165a1b92a46c73badf56927228ed4d5e8 (patch) | |
| tree | 2adb26cb757e5eeb8d2e6f1ce7ed7d631088f55d /libs/kstd | |
| parent | 1279dddbf400828cbadb1b3774fb060d18d8251c (diff) | |
| download | kernel-2063d3e165a1b92a46c73badf56927228ed4d5e8.tar.xz kernel-2063d3e165a1b92a46c73badf56927228ed4d5e8.zip | |
Refactor ssize_t
Diffstat (limited to 'libs/kstd')
| -rw-r--r-- | libs/kstd/kstd/unikstd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/kstd/kstd/unikstd.h b/libs/kstd/kstd/unikstd.h new file mode 100644 index 0000000..aa60be6 --- /dev/null +++ b/libs/kstd/kstd/unikstd.h @@ -0,0 +1,12 @@ +#ifndef KSTD_UNIKSTD_HPP +#define KSTD_UNIKSTD_HPP + +#include <cstddef> +#include <type_traits> + +namespace kstd +{ + using ssize_t = std::make_signed_t<std::size_t>; +} // namespace kstd + +#endif
\ No newline at end of file |
