Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 139347 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +51 lines)
Line  Link Here
0
-- snes9x-1.51-src/configure.in
0
++ snes9x-1.51-src/configure.in
Lines 633-638 Link Here
633
  SYSDEFINES="$SYSDEFINES"' -DHAVE_STDINT_H'
633
  SYSDEFINES="$SYSDEFINES"' -DHAVE_STDINT_H'
634
])
634
])
635
635
636
AC_CHECK_HEADER(endian.h, [
637
  SYSDEFINES="$SYSDEFINES"' -DHAVE_ENDIAN_H'
638
])
639
AC_CHECK_HEADER(sys/endian.h, [
640
  SYSDEFINES="$SYSDEFINES"' -DHAVE_SYS_ENDIAN_H'
641
])
642
AC_CHECK_HEADER(machine/endian.h, [
643
  SYSDEFINES="$SYSDEFINES"' -DHAVE_MACHINE_ENDIAN_H'
644
])
645
AC_CHECK_HEADER(sys/isa_defs.h, [
646
  SYSDEFINES="$SYSDEFINES"' -DHAVE_SYS_ISA_DEFS_H'
647
])
648
636
AC_CHECK_HEADERS(unistd.h sys/socket.h winsock.h winsock2.h WS2tcpip.h)
649
AC_CHECK_HEADERS(unistd.h sys/socket.h winsock.h winsock2.h WS2tcpip.h)
637
650
638
dnl Check SAR
651
dnl Check SAR
639
-- snes9x-1.51-src/port.h
652
++ snes9x-1.51-src/port.h
Lines 184-189 Link Here
184
184
185
#include <sys/types.h>
185
#include <sys/types.h>
186
186
187
#if defined(HAVE_ENDIAN_H)
188
# include <endian.h>
189
#endif
190
#if defined(HAVE_SYS_ENDIAN_H)
191
# include <sys/endian.h>
192
#endif
193
#if defined(HAVE_MACHINE_ENDIAN_H)
194
# include <machine/endian.h>
195
#endif
196
#if defined(HAVE_SYS_ISA_DEFS_H)
197
# include <sys/isa_defs.h>
198
#endif
199
187
/* #define PIXEL_FORMAT RGB565 */
200
/* #define PIXEL_FORMAT RGB565 */
188
#define GFX_MULTI_FORMAT
201
#define GFX_MULTI_FORMAT
189
202
Lines 368-379 Link Here
368
#define SIG_PF void(*)(int)
381
#define SIG_PF void(*)(int)
369
#endif
382
#endif
370
383
371
#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
384
#if defined(BYTE_ORDER)
372
    defined(__x86_64__) || defined(__WIN32__) || defined(__alpha__)
385
# if BYTE_ORDER == LITTLE_ENDIAN
373
#define LSB_FIRST
386
#  define LSB_FIRST
374
#define FAST_LSB_WORD_ACCESS
387
# else
375
#else
388
#  define MSB_FIRST
376
#define MSB_FIRST
389
# endif
377
#endif
390
#elif defined(WORDS_LITTLENDIAN)
378
391
# define LSB_FIRST
392
#elif defined(WORDS_BIGENDIAN)
393
# define MSB_FIRST
394
#else
395
# if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
396
    defined(__WIN32__) || defined(__alpha__) || defined(__x86_64__)
397
#  define LSB_FIRST
398
# else
399
#  define MSB_FIRST
400
# endif
401
#endif
402
403
#if defined(LSB_FIRST)
404
# define FAST_LSB_WORD_ACCESS
405
#endif
406
379
#ifdef __sun
407
#ifdef __sun

Return to bug 139347