From: Ian Lynagh Date: Mon, 6 Oct 2008 10:19:59 +0000 (+0000) Subject: Remove #define _BSD_SOURCE from Stg.h X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=5ee6212c3b25c14db37bc01beeca67707736c406 Remove #define _BSD_SOURCE from Stg.h It's no longer needed, as base no longer #includes it --- diff --git a/includes/Stg.h b/includes/Stg.h index 32e8380..7ac6b1a 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -35,9 +35,6 @@ // 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 - -// Turning on _ISOC99_SOURCE means S_ISSOCK gets defined on Linux -# define _BSD_SOURCE #endif #if IN_STG_CODE == 0