diff --git a/adapter/uhdf2/host/src/driver_loader_full.c b/adapter/uhdf2/host/src/driver_loader_full.c index 6632c4bb2c58d9fdc376558269eaa9b4611a7767..7e526f13d9779c489a3161d01e8175ceb0737bd1 100644 --- a/adapter/uhdf2/host/src/driver_loader_full.c +++ b/adapter/uhdf2/host/src/driver_loader_full.c @@ -27,11 +27,7 @@ #define DRIVER_DESC "driverDesc" #define HDF_LOG_TAG driver_loader_full -#ifdef __ARCH64__ -#define DRIVER_PATH HDF_LIBRARY_DIR"64/" -#else #define DRIVER_PATH HDF_LIBRARY_DIR"/" -#endif static struct DriverLoaderFull *g_fullLoader = NULL; diff --git a/framework/core/host/src/hdf_load_vdi.c b/framework/core/host/src/hdf_load_vdi.c index b5c9c79c02beb706a96566530e32d2c29e1ad7cc..86f6a4bf232e785bc07f39e685c6681c359c395d 100644 --- a/framework/core/host/src/hdf_load_vdi.c +++ b/framework/core/host/src/hdf_load_vdi.c @@ -15,11 +15,7 @@ #define HDF_LOG_TAG dev_load_vdi -#ifdef __ARCH64__ -#define VDI_PATH HDF_LIBRARY_DIR"64/" -#else #define VDI_PATH HDF_LIBRARY_DIR"/" -#endif struct HdfVdiObject *HdfLoadVdi(const char *libName) { diff --git a/interfaces/inner_api/utils/hdf_base.h b/interfaces/inner_api/utils/hdf_base.h index 2e8405334e32e984eb31417525d24fcf133c3693..59fdd664164466342df54da7e23cdb44808dff3c 100644 --- a/interfaces/inner_api/utils/hdf_base.h +++ b/interfaces/inner_api/utils/hdf_base.h @@ -134,7 +134,11 @@ typedef enum { /** * @brief Declares the directory of the HDF module library. */ +#ifdef __aarch64__ +#define HDF_LIBRARY_DIR "/vendor/lib64" +#else #define HDF_LIBRARY_DIR "/vendor/lib" +#endif /** * @brief Declares the directory of the HDF module configuration files.