|
|
#include "paraconfig_gnu.h" | #include "paraconfig_gnu.h" |
#endif | #endif |
| |
|
#if PG_VERSIONNUM(__GNUC__, __GNUC_MINOR__, 0) >= PG_VERSIONNUM(4, 3, 0) |
|
#undef HAVE_HASH_MAP |
|
#ifndef HAVE_EXT_HASH_MAP |
|
#define HAVE_EXT_HASH_MAP |
|
#endif |
|
#endif |
|
|
// | // |
// STL map / hash_map | // STL map / hash_map |
// | // |
|
|
const char* sep = GetDirSeparator(); | const char* sep = GetDirSeparator(); |
std::string::size_type pos = 0, incr; | std::string::size_type pos = 0, incr; |
newpath = new std::string(path); | newpath = new std::string(path); |
incr = std::strlen(sep); |
incr = strlen(sep); |
if(incr == 1 && sep[0] == '/') | if(incr == 1 && sep[0] == '/') |
return newpath; | return newpath; |
| |