Fix build errors
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "Uuid.h"
|
||||
#include "Exception.h"
|
||||
#include "Interpreter.h"
|
||||
#include <stdexcept>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
|
||||
@@ -93,4 +94,4 @@ void Uuid::setValue(const std::string &sString)
|
||||
const std::string& Uuid::getValue(void) const
|
||||
{
|
||||
return _uuid;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
|
||||
// FreeCAD Base header
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Uuid.h>
|
||||
#include <App/Application.h>
|
||||
|
||||
|
||||
@@ -127,8 +126,6 @@ extern "C"
|
||||
strncpy(argv[0], info.dli_fname,PATH_MAX);
|
||||
argv[0][PATH_MAX-1] = '\0'; // ensure null termination
|
||||
// this is a workaround to avoid a crash in libuuid.so
|
||||
Base::Uuid uuid;
|
||||
uuid.UuidStr="";
|
||||
#elif defined(FC_OS_MACOSX)
|
||||
uint32_t sz = 0;
|
||||
char *buf;
|
||||
|
||||
Reference in New Issue
Block a user