#ifdef HAVE_HARFBUZZ
# include <hb.h>
# include <hb-ot.h> /* for hb_ot_font_set_funcs */
-# if GNUC_PREREQ (4, 3, 0)
-# define bswap_32(v) __builtin_bswap32(v)
-# else
-# include <byteswap.h>
-# endif
#endif
#include "lisp.h"
HFONT old_font = SelectObject (context, (HFONT) data);
char *font_data = NULL;
DWORD font_data_size = 0, val;
+#if GNUC_PREREQ (4, 3, 0)
+ DWORD table = __builtin_bswap32 (tag);
+#else
DWORD table = bswap_32 (tag);
+#endif
hb_blob_t *blob = NULL;
val = GetFontData (context, table, 0, font_data, font_data_size);