Commit fd15d474 authored by Marco Mariani's avatar Marco Mariani

patched 0.11.0 to build in 2014

parent 210bdb8f
......@@ -16,14 +16,14 @@ setup(name="rdiff-backup",
author_email="bescoto@stanford.edu",
url="http://rdiff-backup.stanford.edu",
packages = ['rdiff_backup'],
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
ext_modules = [Extension("rdiff_backup.C", ["src/cmodule.c"]),
Extension("rdiff_backup._librsync",
["_librsyncmodule.c"],
["rdiff_backup/_librsyncmodule.c"],
libraries=["rsync"])],
scripts = ['rdiff-backup'],
data_files = [('share/man/man1', ['rdiff-backup.1']),
('share/doc/rdiff-backup-%s' % version_string,
['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])])
['CHANGELOG', 'COPYING', 'README', 'FAQ-body.html'])])
......@@ -13,7 +13,7 @@
* ----------------------------------------------------------------------- */
#include <Python.h>
#include <rsync.h>
#include <librsync.h>
#define RS_JOB_BLOCKSIZE 65536
static PyObject *librsyncError;
......
......@@ -21,6 +21,7 @@
/* choose the appropriate stat and fstat functions and return structs */
/* This code taken from Python's posixmodule.c */
#define LONG_LONG long long
#undef STAT
#if defined(MS_WIN64) || defined(MS_WIN32)
# define STAT _stati64
......
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