~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.c

  • Committer: Monty Taylor
  • Date: 2008-08-02 04:03:01 UTC
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802040301-krgnq3apuw7drn2b
Changed ifdef's so that places without locale.h will still work ok.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#include <sys/ioctl.h>
47
47
 
48
48
 
49
 
#if defined(USE_LIBEDIT_INTERFACE) && defined(HAVE_LOCALE_H)
 
49
#if defined(HAVE_LOCALE_H)
50
50
#include <locale.h>
51
51
#endif
52
52
 
1033
1033
{
1034
1034
  char buff[80];
1035
1035
 
 
1036
#if defined(HAVE_LOCALE_H)
1036
1037
  setlocale(LC_ALL, "");
 
1038
#endif
1037
1039
  bindtextdomain("drizzle", LOCALEDIR);
1038
1040
  textdomain("drizzle");
1039
1041