mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk) #3311 "MingW build of Transmission" -- modify tr_strip_positional_args() to strip out the ' printf flag. Platforms not supporting $ tend to not support ' either
This commit is contained in:
@@ -88,6 +88,8 @@ extern "C" {
|
||||
****
|
||||
***/
|
||||
|
||||
const char * tr_strip_positional_args( const char * fmt );
|
||||
|
||||
#if !defined( _ )
|
||||
#if defined( HAVE_LIBINTL_H ) && !defined( SYS_DARWIN )
|
||||
#include <libintl.h>
|
||||
@@ -104,7 +106,6 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
#ifdef DISABLE_GETTEXT
|
||||
const char * tr_strip_positional_args( const char * fmt );
|
||||
#undef _
|
||||
#define _( a ) tr_strip_positional_args( a )
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user