Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit.h @ 2251:292bee385630
SSE and MMX intrinsics work with Visual Studio now...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Aug 2007 06:37:22 +0000 |
parents | e1d228456537 |
children | 340942cfda48 |
comparison
equal
deleted
inserted
replaced
2250:e1d228456537 | 2251:292bee385630 |
---|---|
101 */ | 101 */ |
102 | 102 |
103 #if defined(__GNUC__) | 103 #if defined(__GNUC__) |
104 #define DECLARE_ALIGNED(t,v,a) t __attribute__((aligned(a))) v | 104 #define DECLARE_ALIGNED(t,v,a) t __attribute__((aligned(a))) v |
105 #elif defined(_MSC_VER) | 105 #elif defined(_MSC_VER) |
106 #define DECLARE_ALIGNED(t,v,a) t __declspec(align(a)) v | 106 #define DECLARE_ALIGNED(t,v,a) __declspec(align(a)) t v |
107 #else | 107 #else |
108 #define DECLARE_ALIGNED(t,v,a) t v | 108 #define DECLARE_ALIGNED(t,v,a) t v |
109 #endif | 109 #endif |
110 | 110 |
111 #define FORMAT_EQUAL(A, B) \ | 111 #define FORMAT_EQUAL(A, B) \ |