mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
When using Splint, don't try to use gettext().
svn path=/trunk/yasm/; revision=547
This commit is contained in:
parent
04df0be842
commit
bccc5e7ec7
3 changed files with 3 additions and 6 deletions
|
|
@ -42,8 +42,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(lint)
|
||||
/*@dependent@*/ const char *gettext(const char *s);
|
||||
#define _(String) gettext(String)
|
||||
#define _(String) String
|
||||
#else
|
||||
# ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
|
|
|
|||
|
|
@ -42,8 +42,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(lint)
|
||||
/*@dependent@*/ const char *gettext(const char *s);
|
||||
#define _(String) gettext(String)
|
||||
#define _(String) String
|
||||
#else
|
||||
# ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
|
|
|
|||
3
util.h
3
util.h
|
|
@ -42,8 +42,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(lint)
|
||||
/*@dependent@*/ const char *gettext(const char *s);
|
||||
#define _(String) gettext(String)
|
||||
#define _(String) String
|
||||
#else
|
||||
# ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue