# HG changeset patch # User Ben Wing # Date 1264672934 21600 # Node ID 99f2102552d7189f274ec7e50ea1d4501bde9ff9 # Parent d1d4ce10c7b4f6aeb0e39b15bac57198a310703b Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks. 2010-01-28 Ben Wing * syswindows.h: Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks (i.e. Visual Studio et al.). diff -r d1d4ce10c7b4 -r 99f2102552d7 src/ChangeLog --- a/src/ChangeLog Wed Jan 27 14:36:24 2010 +0000 +++ b/src/ChangeLog Thu Jan 28 04:02:14 2010 -0600 @@ -1,3 +1,9 @@ +2010-01-28 Ben Wing + + * syswindows.h: + Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks + (i.e. Visual Studio et al.). + 2010-01-27 Aidan Kehoe * number.c (Fdenominator): diff -r d1d4ce10c7b4 -r 99f2102552d7 src/syswindows.h --- a/src/syswindows.h Wed Jan 27 14:36:24 2010 +0000 +++ b/src/syswindows.h Thu Jan 28 04:02:14 2010 -0600 @@ -473,8 +473,16 @@ typedef LPCDLGTEMPLATE LPCDLGTEMPLATEA; #else /* !CYGWIN_HEADERS */ + #define W32API_VER(major,minor) 0 #define W32API_INSTALLED_VER 0 + +/* Some types that show up in Cygwin headers but not in Visual Studio headers, + and cause problems if we used Cygwin headers to generate + intl-auto-encap-win32.[ch]. */ +typedef LPCVOID PCVOID; +typedef LPDWORD *PDWORD_PTR; + #endif /* CYGWIN_HEADERS */ /* Not in VC 6 */