We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6156bf commit e4acde7Copy full SHA for e4acde7
src/wrapper/SWIG_generator.py
@@ -1201,7 +1201,8 @@ def OSFilterHeaders(self, HXX_FILES):
1201
HXX_TO_EXCLUDE.append('InterfaceGraphic_Cextern.hxx')
1202
HXX_TO_EXCLUDE.append('Xw_Cextern.hxx')
1203
HXX_TO_EXCLUDE.append('OSD_WNT_1.hxx')
1204
- for hxx_file in HXX_FILES: # Under Windows, remove all X11/Xfw headers
+ if sys.platform != 'linux2':
1205
+ for hxx_file in HXX_FILES: # Under OSX and Windows, remove all X11/Xfw headers
1206
if ('X11' in hxx_file) or ('XWD' in hxx_file):
1207
HXX_TO_EXCLUDE.append(hxx_file)
1208
if len(HXX_FILES) == 0:
0 commit comments