[CDFS] Use GNU89 standard when using CLang

This commit is contained in:
Jérôme Gardou
2020-11-16 16:58:10 +01:00
committed by Jérôme Gardou
parent 2c4c25e468
commit cab3e62f0e
+6
View File
@@ -38,3 +38,9 @@ target_link_libraries(cdfs ${PSEH_LIB} memcmp)
add_importlibs(cdfs ntoskrnl hal)
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_registry_inf(cdfs_reg.inf)
if (CLANG AND GCC)
# Make __inline work as expected
target_compile_options(cdfs PRIVATE -std=gnu89)
endif()