Added Linux defines. Now compiles nicely on (my) Linux.

This commit is contained in:
Thomas Jensen 1999-08-18 18:23:06 +00:00
parent a6d4809f08
commit f6c4f01f4e

View File

@ -4,7 +4,7 @@
* Date created: July 4, 1999 (Sunday, 21:04h)
* Author: Copyright (C) 1999 Thomas Jensen
* tsjensen@stud.informatik.uni-erlangen.de
* Version: $Id$
* Version: $Id: config.h,v 1.1 1999/07/22 12:26:10 tsjensen Exp tsjensen $
* Language: ANSI C
* Purpose: Please compiler and ease porting
*
@ -23,7 +23,10 @@
*
* Revision History:
*
* $Log$
* $Log: config.h,v $
* Revision 1.1 1999/07/22 12:26:10 tsjensen
* Initial revision
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
@ -31,9 +34,19 @@
#define CONFIG_H
#if defined(__linux__)
#define _GNU_SOURCE
#elif defined(__sun__)
#define _POSIX_SOURCE
#ifdef __sun__
#define __EXTENSIONS__
#elif
#define _POSIX_SOURCE
#endif