// a wrapper to load netgen-dll into python

#include <iostream>
#include <boost/python.hpp>

#ifdef WIN32
#define DLL_HEADER __declspec(dllimport)
#else
#define DLL_HEADER
#endif


void DLL_HEADER ExportNetgenMeshing();
void DLL_HEADER ExportMeshVis();
void DLL_HEADER ExportCSG();
void DLL_HEADER ExportCSGVis();
void DLL_HEADER ExportGeom2d();

BOOST_PYTHON_MODULE(libngpy) 
{
    ExportCSG();
    ExportCSGVis();
    ExportNetgenMeshing();
    ExportMeshVis();
    ExportGeom2d();
}


// a wrapper to load netgen-dll into python

#include <iostream>

#ifdef NG_PYTHON
#include <boost/python.hpp>
#endif

#ifdef WIN32
#define DLL_HEADER __declspec(dllimport)
#else
#define DLL_HEADER
#endif


void DLL_HEADER ExportNetgenMeshing();
void DLL_HEADER ExportMeshVis();
void DLL_HEADER ExportCSG();
void DLL_HEADER ExportCSGVis();
void DLL_HEADER ExportGeom2d();

#ifdef NG_PYTHON
BOOST_PYTHON_MODULE(libngpy) 
{
    ExportCSG();
    ExportCSGVis();
    ExportNetgenMeshing();
    ExportMeshVis();
    ExportGeom2d();
}
#endif

--- 
+++ 
@@ -1,10 +1,7 @@
 // a wrapper to load netgen-dll into python
 
 #include <iostream>
-
-#ifdef NG_PYTHON
 #include <boost/python.hpp>
-#endif
 
 #ifdef WIN32
 #define DLL_HEADER __declspec(dllimport)
@@ -19,7 +16,6 @@
 void DLL_HEADER ExportCSGVis();
 void DLL_HEADER ExportGeom2d();
 
-#ifdef NG_PYTHON
 BOOST_PYTHON_MODULE(libngpy) 
 {
     ExportCSG();
@@ -28,4 +24,4 @@
     ExportMeshVis();
     ExportGeom2d();
 }
-#endif
+
Revert "Guard inclusion of boost/python.hpp"

This reverts commit 08a32ff2d4644d4bd602970a7b303ae781353f60.

This attempt at guarding the inclusion of boost's Python header did
not work.
