bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HAVE_LC_MESSAGES


From: Sam Steingold
Subject: HAVE_LC_MESSAGES
Date: Wed, 13 Jul 2011 10:34:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi,
What's the point of HAVE_LC_MESSAGES?
I understand that HAVE_LC_MESSAGES is defined whenever config.h is
included while LC_MESSAGES is only defined if locale.h is included.
However, how is

 #if HAVE_LC_MESSAGES
  setlocale(LC_MESSAGES,"");
 #endif

better than

 #ifdef LC_MESSAGES
  setlocale(LC_MESSAGES,"");
 #endif

??

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://iris.org.il http://palestinefacts.org http://dhimmi.com
http://thereligionofpeace.com http://ffii.org http://honestreporting.com
Flying is not dangerous; crashing is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]