Commit c4405fef authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix compilation error on some platforms

modified:
  storage/connect/os.h

- Uniforms line endings

modified:
  storage/connect/tabutil.cpp
parent e57fbef1
#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))
......
...@@ -591,17 +591,17 @@ bool PRXCOL::Init(PGLOBAL g) ...@@ -591,17 +591,17 @@ bool PRXCOL::Init(PGLOBAL g)
return FALSE; return FALSE;
} // end of Init } // end of Init
/***********************************************************************/ /***********************************************************************/
/* Reset the column descriptor to non evaluated yet. */ /* Reset the column descriptor to non evaluated yet. */
/***********************************************************************/ /***********************************************************************/
void PRXCOL::Reset(void) void PRXCOL::Reset(void)
{ {
if (Colp) if (Colp)
Colp->Reset(); Colp->Reset();
Status &= ~BUF_READ; Status &= ~BUF_READ;
} // end of Reset } // end of Reset
/***********************************************************************/ /***********************************************************************/
/* ReadColumn: */ /* ReadColumn: */
/***********************************************************************/ /***********************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment