X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Flttng-events.h;h=ea7b87e655c244fbcc900c93fa31e80e0bf22336;hb=d3ed854b870fc2596ce97946e029476c00e4a36e;hp=005bf0d26013831a3295be6c0a5d65d7cdff6956;hpb=8cb5d813874d3b62cea4a7d5f3748191d5ebcb5e;p=lttng-ust.git diff --git a/include/ust/lttng-events.h b/include/ust/lttng-events.h index 005bf0d2..ea7b87e6 100644 --- a/include/ust/lttng-events.h +++ b/include/ust/lttng-events.h @@ -72,11 +72,14 @@ struct lttng_integer_type { enum lttng_string_encodings encoding; }; +/* + * Only float and double are supported. long double is not supported at + * the moment. + */ #define _float_mant_dig(_type) \ (sizeof(_type) == sizeof(float) ? FLT_MANT_DIG \ : (sizeof(_type) == sizeof(double) ? DBL_MANT_DIG \ - : (sizeof(_type) == sizeof(long double) ? LDBL_MANT_DIG \ - : 0))) + : 0)) #define __type_float(_type) \ { \