=== modified file 'src/m/amdx86-64.h'
--- src/m/amdx86-64.h 2012-01-19 07:21:25 +0000
+++ src/m/amdx86-64.h 2012-02-28 07:00:30 +0000
@@ -17,7 +17,13 @@
You should have received a copy of the GNU General Public License
-#define BITS_PER_LONG 64
+#ifdef _WIN64
+# define BITS_PER_LONG 32
+# define BITS_PER_LONG_LONG 64
+#else
+# define BITS_PER_LONG 64
+#endif
+
#define BITS_PER_EMACS_INT 64
/* Now define a symbol for the cpu type, if your compiler
@@ -27,9 +33,17 @@
/* __x86_64 defined automatically. */
/* Define the type to use. */
-#define EMACS_INT long
-#define pI "l"
-#define EMACS_UINT unsigned long
+#ifdef _WIN64
+# define EMACS_INT __int64
+# define EMACS_UINT unsigned __int64
+# define pI "ll"
+# define VIRT_ADDR_VARIES
+# define DATA_START get_data_start ()
+#else
+# define EMACS_INT long
+# define pI "l"
+# define EMACS_UINT unsigned long
+#endif
/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
#undef DATA_SEG_BITS