ultimatepp/bazaar/Functions4U/bsdiff.h
koldo 4e05e6b41d Functions4U: Updated namespaces and time callbacks
git-svn-id: svn://ultimatepp.org/upp/trunk@11810 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-03-02 13:47:43 +00:00

33 lines
599 B
C++

#ifndef _Functions4U_bsdiff_h_
#define _Functions4U_bsdiff_h_
#define ftello ftell
#define fseeko fseek
using namespace Upp;
extern String errMsg;
String BsGetLastError();
bool Err(String str);
#if defined(_WINDOWS_) || defined(__MINGW32__)
#include <io.h>
#include <share.h>
#include <sys/stat.h>
#define lseek _lseek
#define read _read
#define write _write
#define close _close
typedef unsigned char u_char;
#define _SH_DENYNO 0x40
#if !defined(__MINGW32__)
typedef long pid_t;
typedef signed int ssize_t;
#endif
#endif
#endif