diff --git a/include/utils/hdf_base.h b/include/utils/hdf_base.h old mode 100644 new mode 100755 index 3996738b..c0a9d6c6 --- a/include/utils/hdf_base.h +++ b/include/utils/hdf_base.h @@ -88,6 +88,18 @@ typedef enum { */ #define HDF_KILO_UNIT 1000 +#ifdef __LITEOS__ +#define HDF_LIBRARY_FULL_PATH(x) "/usr/lib/" x ".so" +#define HDF_LIBRARY_DIR "/usr/lib" +#define HDF_ETC_DIR "/etc" +#define HDF_CONFIG_DIR "/etc" +#else +#define HDF_LIBRARY_FULL_PATH(x) "/system/lib/" x ".z.so" +#define HDF_LIBRARY_DIR "/system/lib" +#define HDF_ETC_DIR "/system/etc" +#define HDF_CONFIG_DIR "/system/etc/hdfconfig" +#endif + #ifdef __cplusplus } #endif /* __cplusplus */