linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Melnic <dmm@fb.com>
To: Eric Sandeen <sandeen@sandeen.net>,
	"Darrick J. Wong" <darrick.wong@oracle.com>
Cc: "linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
	Omar Sandoval <osandov@osandov.com>
Subject: Re: xfsprogs and libintl
Date: Thu, 3 Dec 2020 20:38:48 +0000	[thread overview]
Message-ID: <BE25930B-B515-42AA-A2B3-3EAF2E873D79@fb.com> (raw)
In-Reply-To: <d3abd8ca-735d-d7d7-6229-e7540325cd84@sandeen.net>

Thanks,

Dan

On 12/3/20, 12:20 PM, "Eric Sandeen" <sandeen@sandeen.net> wrote:

    On 12/3/20 2:05 PM, Dan Melnic wrote:
    > I guess this is an older version - 3.1.4:

    That's ... 10 years old!

    platform_defs.h has not been installed on the system since
    2015 or so:

    ,commit dcabd4e7e955231a6bb92ce1038e62e5a9b90c5d
    Author: Christoph Hellwig <hch@lst.de>
    Date:   Mon Aug 3 09:58:33 2015 +1000

        xfsprogs: don't install platform_defs.h

    > xfs.h includes platform_defs.h:
    > #ifndef __XFS_H__
    > #define __XFS_H__
    > 
    > #include <xfs/platform_defs.h>
    > #include <xfs/xfs_fs.h>
    > 
    > #endif  /* __XFS_H__ */
    > 
    > Which:
    > 
    > /* Define if you want gettext (I18N) support */
    > /* #undef ENABLE_GETTEXT */
    > #ifdef ENABLE_GETTEXT
    > # include <libintl.h>
    > # define _(x)                   gettext(x)
    > # define N_(x)                   x
    > #else
    > # define _(x)                   (x)
    > # define N_(x)                   x
    > # define textdomain(d)          do { } while (0)
    > # define bindtextdomain(d,dir)  do { } while (0)
    > #endif
    > #include <locale.h>
    > 
    > I'll try to upgrade to a newer version then.

    I think that is wise :)

    -Eric

    > Dan




      reply	other threads:[~2020-12-03 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 19:15 xfsprogs and libintl Dan Melnic
2020-12-03 19:35 ` Darrick J. Wong
2020-12-03 20:05   ` Dan Melnic
2020-12-03 20:19     ` Eric Sandeen
2020-12-03 20:38       ` Dan Melnic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BE25930B-B515-42AA-A2B3-3EAF2E873D79@fb.com \
    --to=dmm@fb.com \
    --cc=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=osandov@osandov.com \
    --cc=sandeen@sandeen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).