~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/port.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu Archive Auto-Backport
  • Date: 2011-10-27 06:13:09 UTC
  • mfrom: (5.3.14 sid)
  • Revision ID: package-import@ubuntu.com-20111027061309-zc27cjc6hu8yp0z0
Tags: 8.4.9-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
#endif
208
208
#endif   /* USE_REPL_SNPRINTF */
209
209
 
 
210
/*
 
211
 * Versions of libintl >= 0.18? try to replace setlocale() with a macro
 
212
 * to their own versions.  Remove the macro, if it exists, because it
 
213
 * ends up calling the wrong version when the backend and libintl use
 
214
 * different versions of msvcrt.
 
215
 */
 
216
#if defined(setlocale) && defined(WIN32)
 
217
#undef setlocale
 
218
#endif
 
219
 
210
220
/* Portable prompt handling */
211
221
extern char *simple_prompt(const char *prompt, int maxlen, bool echo);
212
222