Fix warning
warning: '_WIN64' is not defined, evaluates to 0 [-Wundef]
This commit is contained in:
parent
0c2bd1b160
commit
ce317d0320
|
@ -106,7 +106,7 @@ hb_bit_storage (T v)
|
||||||
_BitScanReverse (&where, v);
|
_BitScanReverse (&where, v);
|
||||||
return 1 + where;
|
return 1 + where;
|
||||||
}
|
}
|
||||||
# if _WIN64
|
# if defined(_WIN64)
|
||||||
if (sizeof (T) <= 8)
|
if (sizeof (T) <= 8)
|
||||||
{
|
{
|
||||||
unsigned long where;
|
unsigned long where;
|
||||||
|
@ -180,7 +180,7 @@ hb_ctz (T v)
|
||||||
_BitScanForward (&where, v);
|
_BitScanForward (&where, v);
|
||||||
return where;
|
return where;
|
||||||
}
|
}
|
||||||
# if _WIN64
|
# if defined(_WIN64)
|
||||||
if (sizeof (T) <= 8)
|
if (sizeof (T) <= 8)
|
||||||
{
|
{
|
||||||
unsigned long where;
|
unsigned long where;
|
||||||
|
|
Loading…
Reference in New Issue