]> code.delx.au - gnu-emacs/blobdiff - src/conf_post.h
Avoid shadowing a global variable by a local one in frame.c.
[gnu-emacs] / src / conf_post.h
index 0c4d029bc5d642ab177ffa3eee6928dc47581924..aa008107ba672749d3030903ff19892b96f1ea59 100644 (file)
@@ -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