/[adonthell]/adonthell-0.3/src/gettext.h
ViewVC logotype

Diff of /adonthell-0.3/src/gettext.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by ksterker, Thu Aug 22 15:16:28 2002 UTC revision 1.4 by ksterker, Sun Apr 17 16:38:22 2005 UTC
# Line 1  Line 1 
1  /* Convenience header for conditional use of GNU <libintl.h>.  /* Convenience header for conditional use of GNU <libintl.h>.
2     Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.     Copyright (C) 1995-1998, 2000-2002, 2004 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or modify it     This program is free software; you can redistribute it and/or modify it
5     under the terms of the GNU Library General Public License as published     under the terms of the GNU Library General Public License as published
# Line 37  Line 37 
37  # include <locale.h>  # include <locale.h>
38  #endif  #endif
39    
40    /* Many header files from the libstdc++ coming with g++ 3.3 or newer include
41       <libintl.h>, which chokes if dcgettext is defined as a macro.  So include
42       it now, to make later inclusions of <libintl.h> a NOP.  */
43    #if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
44    # include <cstdlib>
45    # if (__GLIBC__ >= 2) || _GLIBCXX_HAVE_LIBINTL_H
46    #  include <libintl.h>
47    # endif
48    #endif
49    
50  /* Disabled NLS.  /* Disabled NLS.
51     The casts to 'const char *' serve the purpose of producing warnings     The casts to 'const char *' serve the purpose of producing warnings
52     for invalid uses of the value returned from these functions.     for invalid uses of the value returned from these functions.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26