mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-24 13:31:00 +01:00
Apply patch by Salvatore Bonaccorso to fix FTBFS on GNU/kFreeBSD and GNU/Hurd
This commit is contained in:
parent
0a58a24763
commit
a60d74eb02
35
src/config.h
35
src/config.h
@ -1,14 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
* File: config.h
|
* File: config.h
|
||||||
* Project Main: boxes.c
|
* Project Main: boxes.c
|
||||||
* Date created: July 4, 1999 (Sunday, 21:04h)
|
* Date created: July 4, 1999 (Sunday, 21:04h)
|
||||||
* Author: Copyright (C) 1999 Thomas Jensen <boxes@thomasjensen.com>
|
* Author: Copyright (C) 1999 Thomas Jensen <boxes@thomasjensen.com>
|
||||||
* Version: $Id: config.h,v 1.4 2006/07/12 05:42:48 tsjensen Exp $
|
* Language: ANSI C
|
||||||
* Language: ANSI C
|
* Web Site: http://boxes.thomasjensen.com/
|
||||||
* World Wide Web: http://boxes.thomasjensen.com/
|
* Purpose: Please compiler and ease porting
|
||||||
* Purpose: Please compiler and ease porting
|
|
||||||
*
|
*
|
||||||
* Remarks: o This program is free software; you can redistribute it and/or
|
* License: o This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
@ -21,22 +20,6 @@
|
|||||||
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
* MA 02111-1307 USA
|
* MA 02111-1307 USA
|
||||||
*
|
*
|
||||||
* Revision History:
|
|
||||||
*
|
|
||||||
* $Log: config.h,v $
|
|
||||||
* Revision 1.4 2006/07/12 05:42:48 tsjensen
|
|
||||||
* Updated email and web addresses in comment header
|
|
||||||
*
|
|
||||||
* Revision 1.3 1999-08-25 06:38:37-07 tsjensen
|
|
||||||
* Bugfix: Changed empty #elif to #else (thanks Tommy Williams)
|
|
||||||
* Port to i386/FreeBSD by Tommy Williams
|
|
||||||
*
|
|
||||||
* Revision 1.2 1999/08/18 18:23:06 tsjensen
|
|
||||||
* Added Linux defines. Now compiles nicely on (my) Linux.
|
|
||||||
*
|
|
||||||
* Revision 1.1 1999/07/22 12:26:10 tsjensen
|
|
||||||
* Initial revision
|
|
||||||
*
|
|
||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -44,7 +27,7 @@
|
|||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user