mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-29 16:31:29 +00:00
Fix server configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13600 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
232838b376
commit
6077d7a0a4
5 changed files with 24 additions and 6 deletions
|
@ -34,9 +34,9 @@
|
|||
+ (void) initializeBackend;
|
||||
@end
|
||||
|
||||
#if BUILD_SERVER == x11
|
||||
#if BUILD_SERVER == SERVER_x11
|
||||
#include <x11/XGServer.h>
|
||||
#elif BUILD_SERVER == win32
|
||||
#elif BUILD_SERVER == SERVER_win32
|
||||
#include <win32/WIN32Server.h>
|
||||
#endif
|
||||
|
||||
|
@ -52,9 +52,9 @@
|
|||
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
/* Load in only one server */
|
||||
#if BUILD_SERVER == x11
|
||||
#if BUILD_SERVER == SERVER_x11
|
||||
[XGServer initializeBackend];
|
||||
#elif BUILD_SERVER == win32
|
||||
#elif BUILD_SERVER == SERVER_win32
|
||||
[WIN32Server initializeBackend];
|
||||
#else
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue