From 9b5717b4ad8fd08b5cc84f09bb3507c339216244 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sun, 21 Apr 2002 22:46:39 +0000 Subject: [PATCH] Support for new MS Windows backend git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13522 72102866-910b-0410-8b05-ffd578937521 --- Source/GSBackend.m | 8 ++++---- configure | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Source/GSBackend.m b/Source/GSBackend.m index 85ad303..c7742bc 100644 --- a/Source/GSBackend.m +++ b/Source/GSBackend.m @@ -50,10 +50,10 @@ #include #endif #ifdef BUILD_WIN32 -// win32 header here +#include #endif #ifdef BUILD_WINLIB -// winlib header here +#include #endif @implementation GSBackend @@ -69,7 +69,7 @@ [XGServer initializeBackend]; #else #ifdef BUILD_WIN32 -// win32 initialize here + [WIN32Server initializeBackend]; #else [NSException raise: NSInternalInconsistencyException format: @"No Window Server configured in backend"]; @@ -82,7 +82,7 @@ context = @"xdps"; #endif #ifdef BUILD_WINLIB - context = @"xwin32"; + context = @"win32"; #endif #ifdef BUILD_XLIB context = @"xlib"; diff --git a/configure b/configure index 819a23b..0d24c52 100755 --- a/configure +++ b/configure @@ -2819,7 +2819,8 @@ if test "x$enable_winlib" = "xyes"; then #define BUILD_WINLIB 1 EOF - echo "$ac_t""win32" 1>&6 + echo "$ac_t""winlib" 1>&6 + GRAPHIC_LIBS=-lgdi32 enable_xdps=no enable_xlib=no fi