Cpp exclusion macro -> defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 25 May 2007 10:25:40 +0000 (10:25 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 25 May 2007 10:25:40 +0000 (10:25 +0000)
  Nhc98 does not define the symbol __NHC__ when compiling C code.

cbits/directory.c

index f85b57a..6ea722b 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef __NHC__
+#if defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
 /* 
  * (c) The University of Glasgow 2002
  *