Commit f0b645bf authored by Dave Love's avatar Dave Love
Browse files

Undef feature selection macros before defining.

parent 57beb0e0
......@@ -21,7 +21,12 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
/* The following feature selections should be in config.h, but that
causes at best a host of warnings on some systems. */
#undef _XOPEN_SOURCE /* Avoid warnings about redefinition
in some cases. */
#define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */
#undef __EXTENSIONS__
#define __EXTENSIONS__ /* Keep Solaris 2.6 happy with the
above, else things we need are hidden. */
#include <stdio.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment