From 12a74c66c6656bbf6a89bfae83b76e3df37d9199 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 3 Dec 2019 22:59:35 +0000 Subject: Port to python3 --- src/py_balance.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/py_balance.cc') diff --git a/src/py_balance.cc b/src/py_balance.cc index dc9975cf..3067850e 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -33,7 +33,9 @@ #include "pyinterp.h" #include "pyutils.h" +#if PY_MAJOR_VERSION < 3 #include "pyfstream.h" +#endif #include "commodity.h" #include "annotate.h" #include "balance.h" -- cgit v1.2.3