Skip to content

Commit

Permalink
msvc: fail on non-x86, instead miscompiling
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Jul 14, 2014
1 parent 4ec5634 commit 971d60b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions usual/config_msvc.h
Expand Up @@ -56,14 +56,10 @@

/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
#if defined(_M_IX86) || defined(_M_X64)
/* # undef WORDS_BIGENDIAN */
# endif
#else
#error "Unsupported MSVC target CPU"
#endif

/* Define to `int' if <sys/types.h> doesn't define. */
Expand Down

0 comments on commit 971d60b

Please sign in to comment.