summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeheader2
1 files changed, 1 insertions, 1 deletions
diff --git a/deheader b/deheader
index 299d6e6..43a27a3 100755
--- a/deheader
+++ b/deheader
@@ -86,7 +86,7 @@ class InclusionMap:
includes = []
ifdepth = 0
for line in open(sourcefile):
- if line.startswith("#ifdef") or line.startswith("#ifndef"):
+ if line.startswith("#if") or line.startswith("#ifndef"):
ifdepth += 1
elif line.startswith("#endif"):
ifdepth -= 1