Fixed: Compile errors under Linux.

This commit is contained in:
kaetemi 2012-04-05 17:45:53 +02:00
parent 1390dbf7fe
commit fab5ddfd74
2 changed files with 13 additions and 13 deletions

View file

@ -381,7 +381,7 @@ bool MissionCompilerMainWindow::parsePrimForMissions(NLLIGO::IPrimitive const *p
{ {
std::string value; std::string value;
// if the node is a mission parse it // if the node is a mission parse it
if (prim->getPropertyByName("class",value) && !stricmp(value.c_str(),"mission") ) if (prim->getPropertyByName("class",value) && !NLMISC::stricmp(value.c_str(),"mission") )
{ {
std::string name; std::string name;
prim->getPropertyByName("name",name); prim->getPropertyByName("name",name);

View file

@ -22,7 +22,7 @@
#include "nel/misc/types_nl.h" #include "nel/misc/types_nl.h"
#include "nel/misc/stream.h" #include "nel/misc/stream.h"
#include "mirrored_data_set.h" #include "mirrored_data_set.h"
#include <stddef.h>
/** /**
* Read-only handler of a value of a property. * Read-only handler of a value of a property.