projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b877fad
)
leave out ATTRIBUTE_ALIGNED on Windows, it gives a warning
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 6 Nov 2008 13:21:05 +0000
(13:21 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 6 Nov 2008 13:21:05 +0000
(13:21 +0000)
rts/Capability.h
patch
|
blob
|
history
diff --git
a/rts/Capability.h
b/rts/Capability.h
index
869fdc3
..
07b8838
100644
(file)
--- a/
rts/Capability.h
+++ b/
rts/Capability.h
@@
-109,7
+109,10
@@
struct Capability_ {
} // typedef Capability is defined in RtsAPI.h
// Capabilities are stored in an array, so make sure that adjacent
// Capabilities don't share any cache-lines:
- ATTRIBUTE_ALIGNED(64);
+#ifndef mingw32_HOST_OS
+ ATTRIBUTE_ALIGNED(64)
+#endif
+ ;
#if defined(THREADED_RTS)