1999-07-22 14:26:10 +02:00
|
|
|
/*
|
|
|
|
* File: config.h
|
|
|
|
* Project Main: boxes.c
|
|
|
|
* Date created: July 4, 1999 (Sunday, 21:04h)
|
2006-07-12 07:41:52 +02:00
|
|
|
* Author: Copyright (C) 1999 Thomas Jensen <boxes@thomasjensen.com>
|
|
|
|
* Version: $Id: config.h,v 1.3 1999-08-25 06:38:37-07 tsjensen Exp tsjensen $
|
1999-07-22 14:26:10 +02:00
|
|
|
* Language: ANSI C
|
2006-07-12 07:41:52 +02:00
|
|
|
* World Wide Web: http://boxes.thomasjensen.com/
|
1999-07-22 14:26:10 +02:00
|
|
|
* Purpose: Please compiler and ease porting
|
|
|
|
*
|
|
|
|
* Remarks: o This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
* o This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
* o You should have received a copy of the GNU General Public
|
|
|
|
* License along with this program; if not, write to the Free
|
|
|
|
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
* Revision History:
|
|
|
|
*
|
1999-08-18 20:23:06 +02:00
|
|
|
* $Log: config.h,v $
|
2006-07-12 07:41:52 +02:00
|
|
|
* 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
|
|
|
|
*
|
1999-08-25 15:38:37 +02:00
|
|
|
* Revision 1.2 1999/08/18 18:23:06 tsjensen
|
|
|
|
* Added Linux defines. Now compiles nicely on (my) Linux.
|
|
|
|
*
|
1999-08-18 20:23:06 +02:00
|
|
|
* Revision 1.1 1999/07/22 12:26:10 tsjensen
|
|
|
|
* Initial revision
|
|
|
|
*
|
1999-07-22 14:26:10 +02:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
|
1999-08-18 20:23:06 +02:00
|
|
|
#if defined(__linux__)
|
|
|
|
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
|
|
|
|
#elif defined(__sun__)
|
|
|
|
|
1999-07-22 14:26:10 +02:00
|
|
|
#define _POSIX_SOURCE
|
|
|
|
#define __EXTENSIONS__
|
1999-08-18 20:23:06 +02:00
|
|
|
|
1999-08-25 15:38:37 +02:00
|
|
|
#elif defined(__FreeBSD__)
|
|
|
|
/* do nothing */
|
|
|
|
#else
|
1999-08-18 20:23:06 +02:00
|
|
|
|
|
|
|
#define _POSIX_SOURCE
|
|
|
|
|
1999-07-22 14:26:10 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif /*CONFIG_H*/
|
|
|
|
|
1999-08-25 15:38:37 +02:00
|
|
|
|
1999-07-22 14:26:10 +02:00
|
|
|
/*EOF*/
|