source: trunk/Lucide/gui/os2all.h @ 399

Last change on this file since 399 was 367, checked in by dmik, 12 years ago

Merged bramches/kmk (r294:365) to trunk.

File size: 359 bytes
Line 
1#ifndef __OS2ALL_H
2#define __OS2ALL_H
3
4/*
5 *  Include this instead of <os2.h>
6 */
7
8#if defined(__EMX__)
9#define OS2EMX_PLAIN_CHAR
10#endif
11#define INCL_BASE
12#define INCL_PM
13#include <os2.h>
14
15#if defined(__GNUC__)
16// make GCC 4.x happy
17#undef FIELDOFFSET
18#define FIELDOFFSET(t,f)  ((SHORT)(LONG)&(((t *)0)->f))
19#endif
20
21#endif //__OS2ALL_H
22
Note: See TracBrowser for help on using the repository browser.