diff options
author | Fabrice Popineau <fabrice.popineau@gmail.com> | 2012-11-30 17:14:22 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-11-30 17:14:22 +0200 |
commit | c7b36b9550a66a033d42152741bf7e3f4927cb39 (patch) | |
tree | b93dd8c7fc47ba31fd7f72facbcc6996336041f4 /src/w32common.h | |
parent | 6247eff516ed92bf207867a32980cbba02854fa1 (diff) | |
download | emacs-c7b36b9550a66a033d42152741bf7e3f4927cb39.tar.gz emacs-c7b36b9550a66a033d42152741bf7e3f4927cb39.tar.bz2 emacs-c7b36b9550a66a033d42152741bf7e3f4927cb39.zip |
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.h | 2 |
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; |