comparison src/syswindows.h @ 4893:99f2102552d7

Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks. 2010-01-28 Ben Wing <ben@xemacs.org> * syswindows.h: Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks (i.e. Visual Studio et al.).
author Ben Wing <ben@xemacs.org>
date Thu, 28 Jan 2010 04:02:14 -0600
parents 7822019c5d98
children bd169a24a554
comparison
equal deleted inserted replaced
4892:d1d4ce10c7b4 4893:99f2102552d7
471 471
472 typedef LPCDLGTEMPLATE LPCDLGTEMPLATEW; 472 typedef LPCDLGTEMPLATE LPCDLGTEMPLATEW;
473 typedef LPCDLGTEMPLATE LPCDLGTEMPLATEA; 473 typedef LPCDLGTEMPLATE LPCDLGTEMPLATEA;
474 474
475 #else /* !CYGWIN_HEADERS */ 475 #else /* !CYGWIN_HEADERS */
476
476 #define W32API_VER(major,minor) 0 477 #define W32API_VER(major,minor) 0
477 #define W32API_INSTALLED_VER 0 478 #define W32API_INSTALLED_VER 0
479
480 /* Some types that show up in Cygwin headers but not in Visual Studio headers,
481 and cause problems if we used Cygwin headers to generate
482 intl-auto-encap-win32.[ch]. */
483 typedef LPCVOID PCVOID;
484 typedef LPDWORD *PDWORD_PTR;
485
478 #endif /* CYGWIN_HEADERS */ 486 #endif /* CYGWIN_HEADERS */
479 487
480 /* Not in VC 6 */ 488 /* Not in VC 6 */
481 #ifndef BIF_NEWDIALOGSTYLE 489 #ifndef BIF_NEWDIALOGSTYLE
482 #define BIF_NEWDIALOGSTYLE 64 490 #define BIF_NEWDIALOGSTYLE 64