direct-io.hg

diff xen/tools/compat-build-header.py @ 13656:78b7ec4e7b86

Fix compat build for weird solaris gcc target.
Signed-off-by: John Levon <john.levon@sun.com>
author kaf24@localhost.localdomain
date Sun Jan 28 16:05:07 2007 +0000 (2007-01-28)
parents b61be7771104
children
line diff
     1.1 --- a/xen/tools/compat-build-header.py	Sun Jan 28 09:47:22 2007 +0000
     1.2 +++ b/xen/tools/compat-build-header.py	Sun Jan 28 16:05:07 2007 +0000
     1.3 @@ -3,7 +3,7 @@
     1.4  import re,sys
     1.5  
     1.6  pats = [
     1.7 - [ r"__InClUdE__", r"#include" ],
     1.8 + [ r"__InClUdE__(.*)", r"#include\1\n#pragma pack(4)" ],
     1.9   [ r"\"xen-compat.h\"", r"<public/xen-compat.h>" ],
    1.10   [ r"(struct|union|enum)\s+(xen_?)?(\w)", r"\1 compat_\3" ],
    1.11   [ r"@KeeP@", r"" ],