ultimatepp/bazaar/Functions4U/bsdiffwrapper.h
koldo 2886122156 Functions4U: Added functions. Changes in include org.
git-svn-id: svn://ultimatepp.org/upp/trunk@2706 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-18 14:25:39 +00:00

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