~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/dmx/glxProxy/unpack.h

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
** Fetch a double from potentially unaligned memory.
44
44
*/
45
45
#ifdef __GLX_ALIGN64
46
 
#define __GLX_MEM_COPY(dst,src,n)       memcpy(dst,src,n)
 
46
#define __GLX_MEM_COPY(dst,src,n)       memmove(dst,src,n)
47
47
#define __GLX_GET_DOUBLE(dst,src)       __GLX_MEM_COPY(&dst,src,8)
48
48
#else
49
49
#define __GLX_GET_DOUBLE(dst,src)       (dst) = *((GLdouble*)(src))