changeset 2218:10a44abd0e83

Win: Fix building in Windows 2000, move _dw_show_margins() into AEROGLASS.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 15 Dec 2020 08:06:54 +0000
parents 6cdb907755cb
children 2c82060fda42
files win/dw.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Tue Dec 15 01:00:38 2020 +0000
+++ b/win/dw.c	Tue Dec 15 08:06:54 2020 +0000
@@ -2136,6 +2136,7 @@
    }
 }
 
+#ifdef AEROGLASS
 void _dw_show_margins(HWND handle, MARGINS mar, int line)
 {
 #ifdef DEBUG
@@ -2146,6 +2147,7 @@
    dw_free(title);
 #endif
 }
+#endif
 
 /* The main window procedure for Dynamic Windows, all the resizing code is done here. */
 LRESULT CALLBACK _wndproc(HWND hWnd, UINT msg, WPARAM mp1, LPARAM mp2)