Changeset c2ff413 in git for Singular/pyobject.cc


Ignore:
Timestamp:
Jan 9, 2013, 6:09:44 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
538512de5ab210253d8edeee07e4a22b42392e56
Parents:
7649f8a6c86d9e16fbb5ceb98a83a9647c360d53
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-01-09 18:09:44+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-09 18:13:19+01:00
Message:
Fix building without Python
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/pyobject.cc

    r7649f8a rc2ff413  
    1818  //#include "newstruct.h"
    1919
    20 #include <Python.h>
     20#ifdef HAVE_PYTHON
    2121
    2222#include <Singular/ipid.h>
     
    4040#include "blackbox.h"
    4141#include "ipshell.h"
    42 
    43 
    44 
    45 
    46   //#include <Python.h>
     42#include "newstruct.h"
     43
     44#include <Python.h>
     45
    4746// #include <iterator>             // std::distance
    4847// #include <stdio.h>
     
    753752}
    754753#endif
     754
     755#endif /* HAVE_PYTHON */
Note: See TracChangeset for help on using the changeset viewer.