projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4ec35
)
Cpp exclusion macro -> defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Fri, 25 May 2007 10:25:40 +0000
(10:25 +0000)
committer
Malcolm.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
patch
|
blob
|
history
diff --git
a/cbits/directory.c
b/cbits/directory.c
index
f85b57a
..
6ea722b
100644
(file)
--- a/
cbits/directory.c
+++ b/
cbits/directory.c
@@
-1,4
+1,4
@@
-#ifndef __NHC__
+#if defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
/*
* (c) The University of Glasgow 2002
*