~ubuntu-branches/ubuntu/saucy/clucene-core/saucy-proposed

« back to all changes in this revision

Viewing changes to src/shared/CLucene/util/Misc.cpp

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2013-07-29 08:31:38 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130729083138-hiy0qx1pga1y6jh1
Tags: 2.3.3.4-4
Add bug718187-ftbfs-hurd.patch to fix build failure on HURD.
Thanks to Pino Toscano. (Closes: #718187)

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
std::string Misc::toString(const bool value){
467
467
  return value ? "true" : "false";
468
468
}
 
469
#ifndef __GNU__
469
470
std::string Misc::toString(_LUCENE_THREADID_TYPE value){
470
471
  static int32_t nextindex = 0;
471
472
  static std::map<_LUCENE_THREADID_TYPE, int32_t> ids;
474
475
  }
475
476
  return toString(ids[value]);
476
477
}
 
478
#endif
477
479
std::string Misc::toString(const int32_t value){
478
480
  char buf[20];
479
481
  TCHAR tbuf[20];