pixman: define pixman_have_{mmx,sse2} on 64-bit Linux
authorMagnus Kessler <Magnus.Kessler@gmx.net>
Thu, 28 May 2009 11:09:07 +0000 (12:09 +0100)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Thu, 28 May 2009 16:08:15 +0000 (12:08 -0400)
commitd6dfafd9584c37d0d382c5ca974eab04209ad834
treea0111a7cfa9a1a9f2ae44002a42567d2e757d567
parent3d93070db88563b5a8f1e07f53f86c5e8ada8bbf
pixman: define pixman_have_{mmx,sse2} on 64-bit Linux

The refactoring of pixman removed pixman-sse2.h and pixman-mmx.h in commit
41a9a17e0308f2075bb1bd59c4411e43a67d49ec
(http://cgit.freedesktop.org/pixman/commit/?id=41a9a17e0308f2075bb1bd59c4411e43a67d49ec).
On 64-bit Linux this breaks linking of new programs as well as execution of
existing programs with the following errors:

../pixman/.libs/libpixman-1.so: undefined reference to `pixman_have_mmx'
../pixman/.libs/libpixman-1.so: undefined reference to `pixman_have_sse2'

This patch fixes the issue for me by re-introducing the definitions for these
functions. It might be preferable, though, to create proper trivial static
inline functions instead.

Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
pixman/pixman-cpu.c