mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-30 14:58:50 +00:00
common.h: handle NY/PNY macros correctly when compiling without gettext
This commit is contained in:
parent
cbe39f6b68
commit
349fcbf355
@ -84,9 +84,9 @@ namespace brng = boost::range;
|
||||
#else /* HAVE_LIBINTL_H */
|
||||
# if !defined Y
|
||||
# define Y(s) (s)
|
||||
# define NY(s_singular, s_plural, count) (s_singular)
|
||||
# define NY(s_singular, s_plural, count) ((count) != 1 ? (s_plural) : (s_singular))
|
||||
# define PY(context, s) (s)
|
||||
# define PNY(context, s_singular, s_plural, count) (s_singular)
|
||||
# define PNY(context, s_singular, s_plural, count) ((count) != 1 ? (s_plural) : (s_singular))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user