summaryrefslogtreecommitdiffstats
path: root/src/os_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index 6ebe0373e7..ea1018256d 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -78,7 +78,7 @@
#define HAVE_PUTENV /* at least Bcc 5.2 and MSC have it */
-#ifdef FEAT_GUI_MSWIN
+#if defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)
# define NO_CONSOLE /* don't included console-only code */
#endif