mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
31 lines
589 B
C
31 lines
589 B
C
#ifndef _Functions4U_bsdiffwrapper_h_
|
|
#define _Functions4U_bsdiffwrapper_h_
|
|
|
|
|
|
#define ftello ftell
|
|
#define fseeko fseek
|
|
|
|
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
|