Commit Graph

4 Commits

Author SHA1 Message Date
Alon Levy
533358acf5 common/bitops: mingw32: reorder so __GNUC__ define is checked first 2012-03-20 15:25:55 +01:00
Arnon Gilboa
f492c12364 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.
2012-03-20 15:25:53 +01:00
Arnon Gilboa
88f7e2b32d 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.
2012-03-20 15:25:53 +01:00
Christophe Fergeau
29e175bb06 common: don't duplicate find_msb implementation 2012-03-20 15:25:52 +01:00