summaryrefslogtreecommitdiff
path: root/doc/apibuild.py
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-09-10 05:26:00 +0000
committerMike Hommey <mh@glandium.org>2004-09-10 05:26:00 +0000
commit09deb06614c3408ec0816a3c88920138bae2083c (patch)
treea1b841a7dc28eecb98ca361c9371ecd1449a1908 /doc/apibuild.py
parentc14c53a3645d81281058d4bb4cff24fa8d6faf33 (diff)
downloadlibxml2-09deb06614c3408ec0816a3c88920138bae2083c.tar.gz
Load /tmp/tmp.BmUFjT/libxml2-2.6.13 intoupstream/2.6.13
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'doc/apibuild.py')
-rwxr-xr-xdoc/apibuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/apibuild.py b/doc/apibuild.py
index e398985..059d0bb 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -857,7 +857,7 @@ class CParser:
self.index_add(name, self.filename, not self.is_header,
"macro", info)
return token
- if name == "#ifdef" and self.is_header:
+ if (name == "#ifdef" or name == "#ifndef") and self.is_header:
try:
self.defines.append(self.lexer.tokens[0][1])
if string.find(self.lexer.tokens[0][1], 'ENABLED') != -1: