1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00
trader/lib
John Zaitseff 2032f6de8a Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header
This makes the main source code look a little cleaner, at the expense of
background magic happening in the configure-generated config.h.  But this
magic was already happening for _GNU_SOURCE, __EXTENSIONS__ and the like.

The only wrinkle is that newer versions of NcursesW cause ./configure to
include "-D_XOPEN_SOURCE=600" as part of the compilation command line--on
systems that support _XOPEN_SOURCE=700.  The AC_DEFINE/AC_DEFINE_UNQUOTED
macros automatically comment out any "#undef" lines in config.h, so the
file lib/xopen_source.h works around this limitation.  It is
automatically included by config.h.
2018-08-09 18:05:39 +10:00
..
.gitignore Add the Gnulib monetary module to check for the existence of <monetary.h> 2018-08-08 09:57:25 +10:00
obsolete-strings.c Remove duplicate obsolete strings 2018-07-27 06:25:37 +10:00
README Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header 2018-08-09 18:05:39 +10:00
xopen_source.h Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header 2018-08-09 18:05:39 +10:00

**************************************************************************
*                                                                        *
*              Star Traders: A Game of Interstellar Trading              *
*                 Copyright (C) 1990-2018, John Zaitseff                 *
*                                                                        *
**************************************************************************

This directory, lib,  contains source code as generated  by the Gnulib GNU
Portability  Library "gnulib-tool" script.   See the  project web  site at
https://www.gnu.org/software/gnulib/ for more information.

The following file is used by  xopen_source.m4  to redefine  _XOPEN_SOURCE
appropriately.  It is not part of the GNU Portability Library:

    xopen_source.h

The following file provides translatable strings  for obsolete versions of
various libraries.  It is not part of the GNU Portability Library:

    obsolete-strings.c