Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).
diff --git a/include/winnt.h b/include/winnt.h
index 96ae5ed..9aba207 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -27,6 +27,21 @@
/**** Some Wine specific definitions *****/
+/* Architecture dependent settings. */
+/* These are hardcoded to avoid dependencies on config.h in Winelib apps. */
+#if defined(__i386__)
+# undef WORDS_BIGENDIAN
+# undef BITFIELDS_BIGENDIAN
+# define ALLOW_UNALIGNED_ACCESS
+#elif defined(__sparc__)
+# define WORDS_BIGENDIAN
+# define BITFIELDS_BIGENDIAN
+# undef ALLOW_UNALIGNED_ACCESS
+#elif !defined(RC_INVOKED)
+# error Unknown CPU architecture!
+#endif
+
+
/* Calling conventions definitions */
#ifdef __i386__