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:
Fred Kiefer 2002-04-21 22:46:39 +00:00
parent 4a11916b34
commit 9b5717b4ad
2 changed files with 6 additions and 5 deletions

View file

@ -50,10 +50,10 @@
#include <xdps/NSDPSContext.h> #include <xdps/NSDPSContext.h>
#endif #endif
#ifdef BUILD_WIN32 #ifdef BUILD_WIN32
// win32 header here #include <win32/WIN32Server.h>
#endif #endif
#ifdef BUILD_WINLIB #ifdef BUILD_WINLIB
// winlib header here #include <winlib/WIN32Context.h>
#endif #endif
@implementation GSBackend @implementation GSBackend
@ -69,7 +69,7 @@
[XGServer initializeBackend]; [XGServer initializeBackend];
#else #else
#ifdef BUILD_WIN32 #ifdef BUILD_WIN32
// win32 initialize here [WIN32Server initializeBackend];
#else #else
[NSException raise: NSInternalInconsistencyException [NSException raise: NSInternalInconsistencyException
format: @"No Window Server configured in backend"]; format: @"No Window Server configured in backend"];
@ -82,7 +82,7 @@
context = @"xdps"; context = @"xdps";
#endif #endif
#ifdef BUILD_WINLIB #ifdef BUILD_WINLIB
context = @"xwin32"; context = @"win32";
#endif #endif
#ifdef BUILD_XLIB #ifdef BUILD_XLIB
context = @"xlib"; context = @"xlib";

3
configure vendored
View file

@ -2819,7 +2819,8 @@ if test "x$enable_winlib" = "xyes"; then
#define BUILD_WINLIB 1 #define BUILD_WINLIB 1
EOF EOF
echo "$ac_t""win32" 1>&6 echo "$ac_t""winlib" 1>&6
GRAPHIC_LIBS=-lgdi32
enable_xdps=no enable_xdps=no
enable_xlib=no enable_xlib=no
fi fi