summaryrefslogtreecommitdiff
path: root/src/w32common.h
diff options
context:
space:
mode:
authorFabrice Popineau <fabrice.popineau@gmail.com>2012-11-30 17:14:22 +0200
committerEli Zaretskii <eliz@gnu.org>2012-11-30 17:14:22 +0200
commitc7b36b9550a66a033d42152741bf7e3f4927cb39 (patch)
treeb93dd8c7fc47ba31fd7f72facbcc6996336041f4 /src/w32common.h
parent6247eff516ed92bf207867a32980cbba02854fa1 (diff)
downloademacs-c7b36b9550a66a033d42152741bf7e3f4927cb39.tar.gz
Fix compilation problems with 64-bit MSVC compiler.
src/w32fns.c: Remove prototype of atof. (syspage_mask): Declared DWORD_PTR, for compatibility with 64-bit builds. (file_dialog_callback): Declared UINT_PTR. src/w32common.h (syspage_mask): Declare DWORD_PTR, for compatibility with 64-bit builds. src/w32.c (FILE_DEVICE_FILE_SYSTEM, METHOD_BUFFERED) (FILE_ANY_ACCESS, CTL_CODE) [_MSC_VER]: Define only if not already defined.
Diffstat (limited to 'src/w32common.h')
-rw-r--r--src/w32common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32common.h b/src/w32common.h
index 50724e5553c..5e9b61824ae 100644
--- a/src/w32common.h
+++ b/src/w32common.h
@@ -34,7 +34,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
extern SYSTEM_INFO sysinfo_cache;
extern OSVERSIONINFO osinfo_cache;
-extern unsigned long syspage_mask;
+extern DWORD_PTR syspage_mask;
extern int w32_major_version;
extern int w32_minor_version;