"Fossies" - the Fresh Open Source Software Archive

Member "qalculate-gtk-3.6.0/src/support.h" (17 Nov 2019, 647 Bytes) of package /linux/privat/qalculate-gtk-3.6.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 "support.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef SUPPORT_H
    2 #define SUPPORT_H
    3 
    4 #ifdef HAVE_CONFIG_H
    5 #  include <config.h>
    6 #endif
    7 
    8 /*
    9  * Standard gettext macros.
   10  */
   11 #ifdef ENABLE_NLS
   12 #  include <libintl.h>
   13 #  undef _
   14 #  define _(String) dgettext (GETTEXT_PACKAGE, String)
   15 #  ifdef gettext_noop
   16 #    define N_(String) gettext_noop (String)
   17 #  else
   18 #    define N_(String) (String)
   19 #  endif
   20 #else
   21 #  define textdomain(String) (String)
   22 #  define gettext(String) (String)
   23 #  define dgettext(Domain,Message) (Message)
   24 #  define dcgettext(Domain,Message,Type) (Message)
   25 #  define bindtextdomain(Domain,Directory) (Domain)
   26 #  define _(String) (String)
   27 #  define N_(String) (String)
   28 #endif
   29 
   30 #endif