projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
904ec18
)
#undef PACKAGE_NAME and friends to avoid clashes
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 6 Jun 2007 14:21:53 +0000
(14:21 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 6 Jun 2007 14:21:53 +0000
(14:21 +0000)
include/HsDirectory.h
patch
|
blob
|
history
diff --git
a/include/HsDirectory.h
b/include/HsDirectory.h
index
eded7eb
..
7185dc8
100644
(file)
--- a/
include/HsDirectory.h
+++ b/
include/HsDirectory.h
@@
-10,6
+10,12
@@
#define __HSDIRECTORY_H__
#include "HsDirectoryConfig.h"
+// Otherwise these clash with similar definitions from other packages:
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
#if HAVE_SYS_TYPES_H
#include <sys/types.h>