X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/0caaedb1c3c9c48980144e41d2a95329d39c399a..cf5fc6dbeac10220394ab201ba3f4402e1e91faf:/src/conf_post.h diff --git a/src/conf_post.h b/src/conf_post.h index 0c4d029bc5..aa008107ba 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -142,6 +142,20 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ #endif #endif +#if defined HAVE_NTGUI && !defined DebPrint +# ifdef EMACSDEBUG +extern void _DebPrint (const char *fmt, ...); +# define DebPrint(stuff) _DebPrint stuff +# else +# define DebPrint(stuff) +# endif +#endif + +#if defined CYGWIN && defined HAVE_NTGUI +# define NTGUI_UNICODE /* Cygwin runs only on UNICODE-supporting systems */ +# define _WIN32_WINNT 0x500 /* Win2k */ +#endif + #ifdef emacs /* Don't do this for lib-src. */ /* Tell regex.c to use a type compatible with Emacs. */ #define RE_TRANSLATE_TYPE Lisp_Object