1 #define _LARGEFILE64_SOURCE 1
2 #define PY_SSIZE_T_CLEAN 1
4 #include "../config/config.h"
6 // According to Python, its header has to go first:
7 // http://docs.python.org/2/c-api/intro.html#include-files
8 // http://docs.python.org/3/c-api/intro.html#include-files
11 #if PY_MAJOR_VERSION > 2
12 #define bup_py_main Py_BytesMain
14 #define bup_py_main Py_Main
17 int main(int argc, char **argv)
19 return bup_py_main (argc, argv);