/[escript]/trunk/escript/src/DataFactory.h
ViewVC logotype

Diff of /trunk/escript/src/DataFactory.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3911 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 3962 by jfenwick, Tue Sep 11 09:12:07 2012 UTC
# Line 14  Line 14 
14    
15  #if !defined escript_DataFactory_20040721_H  #if !defined escript_DataFactory_20040721_H
16  #define escript_DataFactory_20040721_H  #define escript_DataFactory_20040721_H
17    
18    #ifdef BADPYTHONMACROS
19    // This hack is required for BSD/OSX builds with python 2.7
20    // (and possibly others).  It must be the first include.
21    // From bug reports online it seems that python redefines
22    // some c macros that are functions in c++.
23    // c++ doesn't like that!
24    #include <Python.h>
25    #undef BADPYTHONMACROS
26    #endif
27    
28    
29  #include "system_dep.h"  #include "system_dep.h"
30    
31  #include "AbstractDomain.h"  #include "AbstractDomain.h"

Legend:
Removed from v.3911  
changed lines
  Added in v.3962

  ViewVC Help
Powered by ViewVC 1.1.26