Commit Graph

4 Commits

Author SHA1 Message Date
Alon Levy
7a63185b9b common/bitops: mingw32: reorder so __GNUC__ define is checked first 2012-01-13 17:42:23 +02:00
Arnon Gilboa
87a834f227 common: add WIN64 ifdef for spice_bit_find_msb (fix broken windows x64 build)
inline __asm is not supported in x64, so use the naive implementation
until x64 asm implemented.
2011-05-22 14:53:13 +03:00
Arnon Gilboa
483d13ce61 common: use INLINE instead of inline
needed for spice/common files used by the client, server & qxl driver.
in windows _inline works for both c/c++, while inline is c++ only.
compiling the client with mixed c/c++ code required this define.
2011-05-12 15:21:08 +03:00
Christophe Fergeau
172edf298f common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00