mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 01:59:54 +00:00
f2fs-tools: use android config only if there's no config.h
commit 4d9c009c343ce1247d9df583b22110f348201b3d category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
parent
5ddd2c6685
commit
43aa4d3b7b
@ -26,13 +26,14 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#else
|
||||
#ifdef __ANDROID__
|
||||
#define WITH_ANDROID
|
||||
#endif
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#ifdef WITH_ANDROID
|
||||
#include <android_config.h>
|
||||
|
Loading…
Reference in New Issue
Block a user