2001-04-23 01:18:28 +02:00
|
|
|
/* features.h
|
|
|
|
|
2004-12-01 18:07:03 +01:00
|
|
|
Copyright 2001, 2002, 2003, 2004 Red Hat, Inc.
|
2001-04-23 01:18:28 +02:00
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#ifndef _FEATURES_H
|
|
|
|
#define _FEATURES_H
|
|
|
|
|
2004-12-01 18:07:03 +01:00
|
|
|
#include <sys/cdefs.h>
|
2001-04-23 01:18:28 +02:00
|
|
|
#include <sys/features.h>
|
|
|
|
|
2006-02-05 21:30:24 +01:00
|
|
|
/* Various options should be defined here, but the framework to do this
|
|
|
|
is not laid down so far. Especially notable are the following defines,
|
|
|
|
which can be used by the application to switch on or off various
|
|
|
|
datatypes and function prototypes:
|
|
|
|
|
|
|
|
_BSD_SOURCE to include pure BSD functions which are not defined
|
|
|
|
under POSIX.
|
|
|
|
|
|
|
|
_POSIX_SOURCE if the application requests a POSIX compatible system.
|
|
|
|
|
|
|
|
_XOPEN_SOURCE if X/Open functions and datatypes are requested. This
|
|
|
|
option includes _POSIX_SOURCE.
|
|
|
|
|
|
|
|
_GNU_SOURCE to turn on GNU extensions which might collide with defines
|
|
|
|
used in application or library headers. This option
|
|
|
|
includes _BSD_SOURCE, _XOPEN_SOURCE and _POSIX_SOURCE.
|
|
|
|
*/
|
|
|
|
|
2001-04-23 01:18:28 +02:00
|
|
|
#endif /* _FEATURES_H */
|