mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
Add a Unix namespace for foo_t types.
This allows me to keep prototyping things on a random desktop machine, even if that machine has its own ideas about foo_t types.
This commit is contained in:
parent
c6d6ba7512
commit
1f41a36c52
16 changed files with 116 additions and 49 deletions
|
@ -1,12 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <limits>
|
||||
#include "UnixTypes.h"
|
||||
|
||||
typedef dword size_t;
|
||||
typedef signed_dword ssize_t;
|
||||
static const Unix::size_t GoodBufferSize = 4096;
|
||||
|
||||
static const size_t GoodBufferSize = 4096;
|
||||
|
||||
typedef int64_t FileOffset;
|
||||
inline static const FileOffset maxFileOffset = std::numeric_limits<FileOffset>::max();
|
||||
inline static const Unix::off_t maxFileOffset = std::numeric_limits<Unix::off_t>::max();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue