Skip to content
Snippets Groups Projects
Commit a351f775 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent ee262f99
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
#include "SPoint3.h" #include "SPoint3.h"
#include "MElement.h" #include "MElement.h"
#include "GModel.h" #include "GModel.h"
#include "OS.h"
#include "Bindings.h"
#if defined(HAVE_DLOPEN) #if defined(HAVE_DLOPEN)
#include "dlfcn.h" #include <dlfcn.h>
#endif #endif
#include "Bindings.h"
struct functionReplaceCache { struct functionReplaceCache {
dataCacheMap *map; dataCacheMap *map;
...@@ -603,8 +605,8 @@ class functionC : public function { ...@@ -603,8 +605,8 @@ class functionC : public function {
fclose(tmpMake); fclose(tmpMake);
if(system("make -f _tmpMake")) if(system("make -f _tmpMake"))
Msg::Error("make command failed\n"); Msg::Error("make command failed\n");
unlink ("_tmpSrc.cpp"); UnlinkFile("_tmpSrc.cpp");
unlink ("_tmpMake.cpp"); UnlinkFile("_tmpMake.cpp");
} }
void call (dataCacheMap *m, fullMatrix<double> &val) void call (dataCacheMap *m, fullMatrix<double> &val)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment