mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 00:30:20 +01:00
Compile fixes for mingw32.
Trivial typos found whilst using a cross-compiler.
This commit is contained in:
parent
922b01ad14
commit
aac256b269
2 changed files with 3 additions and 2 deletions
|
|
@ -51,6 +51,7 @@
|
|||
#include "cairo-paginated-private.h"
|
||||
#include "cairo-win32-private.h"
|
||||
#include "cairo-scaled-font-subsets-private.h"
|
||||
#include "cairo-surface-fallback-private.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -83,14 +83,14 @@
|
|||
#ifndef bswap_16
|
||||
# define bswap_16(p) \
|
||||
(((((uint16_t)(p)) & 0x00ff) << 8) | \
|
||||
(((uint16_t)(p)) >> 8));
|
||||
(((uint16_t)(p)) >> 8))
|
||||
#endif
|
||||
#ifndef bswap_32
|
||||
# define bswap_32(p) \
|
||||
(((((uint32_t)(p)) & 0x000000ff) << 24) | \
|
||||
((((uint32_t)(p)) & 0x0000ff00) << 8) | \
|
||||
((((uint32_t)(p)) & 0x00ff0000) >> 8) | \
|
||||
((((uint32_t)(p))) >> 24));
|
||||
((((uint32_t)(p))) >> 24))
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue