source: branches/kmk/Lucide/gui/os2all.h @ 334

Last change on this file since 334 was 334, checked in by dmik, 11 years ago

branches/kmk: Renamed private os2.h to os2all.h to avoid the clash with the toolkit one.

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.