Show
Ignore:
Timestamp:
02/21/09 14:57:20 (3 years ago)
Author:
Leo Antunes <leo@…>
Children:
0dcf20b290d256e042d559c2d8b8cdaf18ba6c13
Parents:
826d0d375e42d8e4018950dd84b37689b3f666fa
git-committer:
Leo Antunes <leo@…> (02/21/09 14:57:20)
Message:

fix gettext detection

i18n/CMakeLists.txt, CMakeLists.txt: move -DENABLE_NLS from i18n to root
i18n.h: remove cast to const to avoid warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i18n.h

    r826d0d3 r5654745  
    2525#       include <libintl.h> 
    2626#       include <locale.h> 
    27 #       define _(String) ((const char *)dgettext(PACKAGE, String)) 
     27#       define _(String) dgettext(PACKAGE, String) 
    2828#       define gettext_noop(String) String 
    2929#       define N_(String) gettext_noop (String)