[commit: packages/time] master, wip/travis: re-add #include "ghcconfig.h", conditional on __GLASGOW_HASKELL__ (17faab4)

git at git.haskell.org git at git.haskell.org
Sat May 7 06:43:25 UTC 2016


Repository : ssh://git@git.haskell.org/time

On branches: master,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/17faab4835a1decbb2c3dd5297b0073e56a8eed7

>---------------------------------------------------------------

commit 17faab4835a1decbb2c3dd5297b0073e56a8eed7
Author: simonmar <simonmar at microsoft.com>
Date:   Tue Jun 6 05:38:41 2006 -0700

    re-add #include "ghcconfig.h", conditional on __GLASGOW_HASKELL__
    
    darcs-hash:20060606123841-3ed52-e9ff9e6558dfbbc2ed6b26a3abb430079749e9c4


>---------------------------------------------------------------

17faab4835a1decbb2c3dd5297b0073e56a8eed7
 include/HsTime.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/HsTime.h b/include/HsTime.h
index b8da946..baca0d5 100644
--- a/include/HsTime.h
+++ b/include/HsTime.h
@@ -1,6 +1,9 @@
 #ifndef __HSTIME_H__
 #define __HSTIME_H__
 
+#ifdef __GLASGOW_HASKELL__
+#include "ghcconfig.h"
+#endif
 #include "HsTimeConfig.h"
 
 #if HAVE_TIME_H



More information about the ghc-commits mailing list