Commit ad379ff7 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Define _BSD_SOURCE in Stg.h

This means that, on Linux, we get functions like gamma defined when we
#include math.h
parent 1a660e03
......@@ -35,6 +35,10 @@
// Turn on C99 for .hc code. This gives us the INFINITY and NAN
// constants from math.h, which we occasionally need to use in .hc (#1861)
# define _ISOC99_SOURCE
// We need _BSD_SOURCE so that math.h defines things like gamma
// on Linux
# define _BSD_SOURCE
#if IN_STG_CODE == 0
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