Re: xfsprogs and libintl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
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





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux