1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Changed __USE_XOPEN to _XOPEN_SOURCE and got rid of

some extra code.
This commit is contained in:
unknown
2005-10-04 20:22:39 +03:00
parent ec4e385ca5
commit 463d86a9bf
3 changed files with 12 additions and 21 deletions

View File

@ -21,14 +21,15 @@
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include "config_readline.h"
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
@ -48,10 +49,6 @@
#include "rldefs.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
/* Termcap library stuff. */
#include "tcap.h"