apti18n.h.in 513 B

1234567891011121314151617181920
  1. // -*- mode: cpp; mode: fold -*-
  2. // $Id: apti18n.h.in,v 1.3 2002/01/09 04:16:33 jgg Exp $
  3. /* Internationalization macros for apt. This header should be included last
  4. in each C file. */
  5. // Set by autoconf
  6. #undef USE_NLS
  7. #undef USE_INCLUDED_LIBINTL
  8. #if USE_NLS==yes && USE_INCLUDED_LIBINTL==no
  9. // apt will use the gettext implementation of the C library
  10. # include <libintl.h>
  11. # define _(x) gettext(x)
  12. #else
  13. // apt will not use any gettext
  14. # define setlocale(a, b)
  15. # define textdomain(a)
  16. # define _(x) x
  17. #endif