"Fossies" - the Fresh Open Source Software Archive

Member "grzip-0.3.0/intl.h" (4 Jan 2007, 518 Bytes) of package /linux/privat/old/grzip-0.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "intl.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef __INTL_H__
    2 #define __INTL_H__
    3 
    4 #ifdef ENABLE_NLS
    5 #include <libintl.h>
    6 #define _(String) gettext(String)
    7 #ifdef gettext_noop
    8 #define N_(String) gettext_noop(String)
    9 #else
   10 #define N_(String) (String)
   11 #endif
   12 #else /* NLS is disabled */
   13 #define _(String) (String)
   14 #define N_(String) (String)
   15 #define textdomain(String) (String)
   16 #define gettext(String) (String)
   17 #define dgettext(Domain,String) (String)
   18 #define dcgettext(Domain,String,Type) (String)
   19 #define bindtextdomain(Domain,Directory) (Domain)
   20 #endif
   21 
   22 #endif