comparison src/syswindows.h @ 4854:95c4ced5c07c

fix compile problems -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-14 Ben Wing <ben@xemacs.org> * glyphs-eimage.c: Turn on fixes for conflicts between jmorecfg.h and windows.h on Cygwin, too. * emacs.c (debug_can_access_memory): * lisp.h: Declare function const void * to avoid warnings. * sysfile.h: Include syswindows.h on Windows to avoid problems using things like PATHNAME_CONVERT_OUT. * sysfile.h (X_OK): * dialog-msw.c (handle_directory_proc): * dialog-msw.c (handle_directory_dialog_box): * nt.c (Fmswindows_short_file_name): * sysdep.c (qxe_allocating_getcwd): * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): * unexcw.c (unexec): * unexnt.c (_start): * win32.c (mswindows_read_link_1): Rename PATH_MAX_EXTERNAL to PATH_MAX_TSTR to reflect its actual semantics. * unexcw.c: Remove include of syswindows.h that had been added because sysfile.h didn't include it.
author Ben Wing <ben@xemacs.org>
date Thu, 14 Jan 2010 01:25:16 -0600
parents b3ea9c582280
children e1d8b6b0c589
comparison
equal deleted inserted replaced
4853:d35e231d347d 4854:95c4ced5c07c
957 lfftt_size = cygwin_conv_path (CCP_POSIX_TO_WIN_T | CCP_RELATIVE, \ 957 lfftt_size = cygwin_conv_path (CCP_POSIX_TO_WIN_T | CCP_RELATIVE, \
958 lfftt_utf8_path, NULL, 0); \ 958 lfftt_utf8_path, NULL, 0); \
959 lfftt_tstr_path = alloca_extbytes (lfftt_size); \ 959 lfftt_tstr_path = alloca_extbytes (lfftt_size); \
960 cygwin_conv_path (CCP_POSIX_TO_WIN_T | CCP_RELATIVE, \ 960 cygwin_conv_path (CCP_POSIX_TO_WIN_T | CCP_RELATIVE, \
961 lfftt_utf8_path, lfftt_tstr_path, lfftt_size); \ 961 lfftt_utf8_path, lfftt_tstr_path, lfftt_size); \
962 * (Extbyte **) &(out) = lfftt_tstr_path; \ 962 * (const Extbyte **) &(out) = lfftt_tstr_path; \
963 } \ 963 } \
964 } while (0) 964 } while (0)
965 #define TSTR_TO_LOCAL_FILE_FORMAT(path, out) \ 965 #define TSTR_TO_LOCAL_FILE_FORMAT(path, out) \
966 do { \ 966 do { \
967 const Extbyte *ttlff = (path); \ 967 const Extbyte *ttlff = (path); \