Code/Legacy
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -86,10 +86,6 @@ typedef struct stat FS_STAT_TYPE;
|
||||
#else
|
||||
typedef struct stat64 FS_STAT_TYPE;
|
||||
#endif
|
||||
static const int FS_O_RDWR = O_RDWR;
|
||||
static const int FS_O_RDONLY = O_RDONLY;
|
||||
static const int FS_O_WRONLY = O_WRONLY;
|
||||
static const FS_ERRNO_TYPE FS_EISDIR = EISDIR;
|
||||
|
||||
#include <mutex>
|
||||
|
||||
@@ -829,7 +825,7 @@ const int comparePathNames(const char* cpFirst, const char* cpSecond, unsigned i
|
||||
return memicmp(first.c_str(), second.c_str(), length);
|
||||
}
|
||||
|
||||
#if (defined(LINUX) || defined(APPLE)) && defined(DEFINE_FIX_ONE_PATH_ELEMENT)
|
||||
#if defined(FIX_FILENAME_CASE)
|
||||
static bool FixOnePathElement(char* path)
|
||||
{
|
||||
if (*path == '\0')
|
||||
@@ -1193,9 +1189,7 @@ DLL_EXPORT void OutputDebugString(const char* outputString)
|
||||
typedef DIR* FS_DIR_TYPE;
|
||||
typedef dirent FS_DIRENT_TYPE;
|
||||
static const FS_ERRNO_TYPE FS_ENOENT = ENOENT;
|
||||
static const FS_ERRNO_TYPE FS_EINVAL = EINVAL;
|
||||
static const FS_DIR_TYPE FS_DIR_NULL = NULL;
|
||||
static const unsigned char FS_TYPE_DIRECTORY = DT_DIR;
|
||||
|
||||
typedef int FS_ERRNO_TYPE;
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace LogCVars
|
||||
int max_backup_directory_size_mb = 200; //200MB default
|
||||
};
|
||||
|
||||
#ifndef _RELEASE
|
||||
#if defined(SUPPORT_LOG_IDENTER)
|
||||
static CLog::LogStringType indentString (" ");
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user