2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _FSSH_POSIX_COMPATIBILITY_H
6 #define _FSSH_POSIX_COMPATIBILITY_H
10 // BeOS doesn't define [U]LLONG_{MIN,MAX}, but [U]LONGLONG_{MIN,MAX}.
11 // And under some stupid Linux platforms we don't get the macros when
12 // compiling in C++ mode.
15 // define to the BeOS macro
16 # define LLONG_MAX LONGLONG_MAX
18 // minimum acceptable value as per standard
19 # define LLONG_MAX (9223372036854775807LL)
23 #endif // _FSSH_POSIX_COMPATIBILITY_H