aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/symbian/src/SymbianOS.h4
-rw-r--r--backends/platform/wince/wince-sdl.h16
2 files changed, 4 insertions, 16 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h
index b873b503be..5c6b7c505c 100644
--- a/backends/platform/symbian/src/SymbianOS.h
+++ b/backends/platform/symbian/src/SymbianOS.h
@@ -136,12 +136,12 @@ protected:
int _mouseYZone[TOTAL_ZONES];
int _currentZone;
- typedef struct zoneDesc {
+ struct zoneDesc {
int x;
int y;
int width;
int height;
- } zoneDesc;
+ };
static zoneDesc _zones[TOTAL_ZONES];
RFs* _RFs;
diff --git a/backends/platform/wince/wince-sdl.h b/backends/platform/wince/wince-sdl.h
index bbcfcc2f72..063777dbcd 100644
--- a/backends/platform/wince/wince-sdl.h
+++ b/backends/platform/wince/wince-sdl.h
@@ -42,18 +42,6 @@
#define FORMAT_565 1
#define FORMAT_555 2
#define FORMAT_OTHER 3
-#if defined(_WIN32_WCE) && _WIN32_WCE <= 300
-typedef struct _RawFrameBufferInfo
-{
- WORD wFormat;
- WORD wBPP;
- VOID *pFramePointer;
- int cxStride;
- int cyStride;
- int cxPixels;
- int cyPixels;
-} RawFrameBufferInfo;
-#endif
class OSystem_WINCE3 : public OSystem_SDL {
public:
@@ -251,12 +239,12 @@ private:
int _mouseYZone[TOTAL_ZONES];
int _currentZone;
- typedef struct zoneDesc {
+ struct zoneDesc {
int x;
int y;
int width;
int height;
- } zoneDesc;
+ };
static zoneDesc _zones[TOTAL_ZONES];
};