mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
- Fix compilation error on some platforms
modified: storage/connect/os.h - Uniforms line endings modified: storage/connect/tabutil.cpp
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#ifndef _OS_H_INCLUDED
|
#ifndef _OS_H_INCLUDED
|
||||||
#define _OS_H_INCLUDED
|
#define _OS_H_INCLUDED
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(OpenBSD) || defined(__DragonFly__) || defined(__APPLE__)
|
||||||
typedef off_t off64_t;
|
typedef off_t off64_t;
|
||||||
#define lseek64(fd, offset, whence) lseek((fd), (offset), (whence))
|
#define lseek64(fd, offset, whence) lseek((fd), (offset), (whence))
|
||||||
#define open64(path, flags, mode) open((path), (flags), (mode))
|
#define open64(path, flags, mode) open((path), (flags), (mode))
|
||||||
|
Reference in New Issue
Block a user