aboutsummaryrefslogtreecommitdiffstats
path: root/utils/sort_includes.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/sort_includes.py')
-rwxr-xr-xutils/sort_includes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sort_includes.py b/utils/sort_includes.py
index 6f20cb7..81095d6 100755
--- a/utils/sort_includes.py
+++ b/utils/sort_includes.py
@@ -48,7 +48,7 @@ def sort_includes(f):
# mixed with includes, the order might be sensitive.
if headers_begin != 0:
break
- if l.startswith('//') or l.startswith('#define'):
+ if l.startswith('//') or l.startswith('#define') or l.startswith('#ifndef'):
continue
break
if headers_begin == 0: