[8080] Portability fixes for some Unix platforms. Author: VladimirMangos
* Add #include <stdio.h> to some fiels where related functions call.
* Avoid template dependent lookup for fields in class LockedQueue.
--HG--
branch : trunk
This commit is contained in:
1 parent
b9029be234
commit
7d24efd16d
7 files changed
+33
-41
No files matched your search
@@ -21,7 +21,7 @@
|
||||
#include "CoordModelMapping.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
|
||||
using namespace G3D;
|
||||
|
||||
@@ -45,6 +45,13 @@ namespace VMAP
|
||||
return(CMappingEntry::getKeyString(iMapId,xPos, yPos));
|
||||
}
|
||||
|
||||
const std::string CMappingEntry::getKeyString( unsigned int pMapId, int pXPos, int pYPos )
|
||||
{
|
||||
char b[100];
|
||||
sprintf(b,"%03u_%d_%d", pMapId, pXPos, pYPos);
|
||||
return(std::string(b));
|
||||
}
|
||||
|
||||
//============================================================
|
||||
//============================================================
|
||||
//============================================================
|
||||
|
||||
Reference in new issue
Block a user