Fem: [skip ci] fix compiler warnings

* add Python.h to PreCompiled.h to fix warning for MSVC: warning C4005: 'COMPILER': macro redefinition
* add Python.h to FemPostPipelinePyImp.cpp to fix warning for clang: pyconfig.h:1672:9: warning: '_LARGEFILE_SOURCE' macro redefined [-Wmacro-redefined]
This commit is contained in:
wmayer
2022-03-27 11:21:19 +02:00
parent 93482ea8e5
commit aab8a91e08
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,9 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <Python.h>
#endif
#include "FemPostPipeline.h"
#include <Base/FileInfo.h>

View File

@@ -54,6 +54,8 @@
#include <boost/assign/list_of.hpp>
#include <boost/tokenizer.hpp>
#include <Python.h>
// Salomesh
#include <SMESH_Version.h>
#include <SMESH_Gen.hxx>