OSDN Git Service

Shift max and min rate calculations to enumeration stage
[android-x86/hardware-intel-libsensors.git] / description.h
index 9f4b486..aef3f21 100644 (file)
 #define QUIRK_NOISY            0x10  /* High noise level on readings         */
 #define QUIRK_FORCE_CONTINUOUS 0x20  /* Force usage of continuous trigger    */
 
+#ifdef __LP64__
+       typedef uint64_t        flag_t;
+       typedef int64_t         max_delay_t;
+#else
+       typedef uint32_t        flag_t;
+       typedef int32_t         max_delay_t;
+#endif
+
 char*          sensor_get_name         (int s);
 char*          sensor_get_vendor       (int s);
 int            sensor_get_version      (int s);