mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
changes for gcc compilation: conditionally define out stuff that
doesn't work on win32 (e.g. CommandBar).
This commit is contained in:
parent
92948425b9
commit
33779bf1b3
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,9 @@
|
|||
#ifndef _CEMAIN_H_
|
||||
#define _CEMAIN_H_
|
||||
|
||||
#include <aygshell.h>
|
||||
#ifndef CANT_DO_SHELL_THING
|
||||
# include <aygshell.h>
|
||||
#endif
|
||||
#include "draw.h"
|
||||
#include "game.h"
|
||||
#include "util.h"
|
||||
|
@ -60,11 +62,15 @@ typedef struct CEAppGlobals {
|
|||
HINSTANCE hInst;
|
||||
HDC hdc; /* to pass drawing ctxt to draw code */
|
||||
HWND hWnd;
|
||||
#if defined TARGET_OS_WINCE
|
||||
HWND hwndCB;
|
||||
#endif
|
||||
|
||||
HWND buttons[NUM_BUTTONS];
|
||||
|
||||
#ifndef CANT_DO_SHELL_THING
|
||||
SHACTIVATEINFO sai;
|
||||
#endif
|
||||
|
||||
DrawCtx* draw;
|
||||
XWGame game;
|
||||
|
|
Loading…
Reference in a new issue