mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
It still requires an ELF compiler and linker, but at least it builds. I need to get rid of the "Unix" namespace. This does a lot of that.
15 lines
280 B
C++
15 lines
280 B
C++
#pragma once
|
|
|
|
#include "UnixTypes.h"
|
|
|
|
#ifdef SERENITY
|
|
inline static const Unix::off_t maxFileOffset = 2147483647;
|
|
#else
|
|
#include <limits>
|
|
inline static const Unix::off_t maxFileOffset = std::numeric_limits<Unix::off_t>::max();
|
|
#endif
|
|
|
|
static const size_t GoodBufferSize = 4096;
|
|
|
|
|