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
This commit is contained in:
FredKiefer 2002-04-21 22:46:39 +00:00
parent 51ac63b29b
commit 396ec8a443
2 changed files with 6 additions and 5 deletions

View file

@ -50,10 +50,10 @@
#include <xdps/NSDPSContext.h>
#endif
#ifdef BUILD_WIN32
// win32 header here
#include <win32/WIN32Server.h>
#endif
#ifdef BUILD_WINLIB
// winlib header here
#include <winlib/WIN32Context.h>
#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";

3
configure vendored
View file

@ -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