Don't pase _LIBINTL_H
authorJohan Dahlin <johan@src.gnome.org>
Fri, 22 Aug 2008 20:17:09 +0000 (20:17 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Fri, 22 Aug 2008 20:17:09 +0000 (20:17 +0000)
svn path=/trunk/; revision=459

giscanner/sourcescanner.py

index ab5123472d3b695f981d4a848d16c3421ebc7b48..092fda31715044d13ab6968807b56e1d2d2a902c 100644 (file)
@@ -228,6 +228,9 @@ class SourceScanner(object):
             '-C',
             '-U__GNUC__',
             '-D__GI_SCANNER__',
+            # libintl.h has no types we care about and breaks
+            # cpp on some systems
+            '-D_LIBINTL_H',
             '-I.',
             ]