OSDN Git Service

am 63340cc1: Merge "Quick hack fix for USB accessory audio support" into lmp-dev
[android-x86/hardware-libhardware.git] / hardware.c
index f835fda..6713ea0 100644 (file)
 #include <utils/Log.h>
 
 /** Base path of the hal modules */
+#if defined(__LP64__)
+#define HAL_LIBRARY_PATH1 "/system/lib64/hw"
+#define HAL_LIBRARY_PATH2 "/vendor/lib64/hw"
+#else
 #define HAL_LIBRARY_PATH1 "/system/lib/hw"
 #define HAL_LIBRARY_PATH2 "/vendor/lib/hw"
+#endif
 
 /**
  * There are a set of variant filename for modules. The form of the filename