- if f == 'fork' and os_name == 'windows'
- message('MinGW does not have correct definition for fork()')
- else
- if cc.has_function(f, prefix: have_prefix, args: cc_defs)
- cdata.set('HAVE_' + f.to_upper(),
- 1,
- description: 'function ' + f)
- endif
+ if cc.has_function(f, prefix: have_prefix, args: cc_defs)
+ cdata.set('HAVE_' + f.to_upper(),
+ 1,
+ description: 'function ' + f)