Commit cbcd9953 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Fix build for bgq caused by redefinition of _GNU_SOURCE.

g++ always internally has a '#define _GNU_SOURCE 1'. The type difference
between that and '#define _GNU_SOURCE' which is used throughout Slurm
causes a compiler warning about redefinition, which breaks the build.

Adding this one #ifndef back solves this, as this is appears to be the
only header defining it that needs to build both with g++ and gcc.
parent 4fa04170
Supports Markdown
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