source: branches/branch-1-0/include/helpers/simples.h@ 256

Last change on this file since 256 was 174, checked in by umoeller, 23 years ago

Misc updates.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1
2/*
3 *@@sourcefile simples.h:
4 * some basic typical OS/2 definitions that are used in
5 * some helpers include files that should also work
6 * when os2.h is not included.
7 *
8 * Note: Version numbering in this file relates to XWorkplace version
9 * numbering.
10 *
11 */
12
13/* Copyright (C) 2002 Ulrich M”ller.
14 * This file is part of the "XWorkplace helpers" source package.
15 * This is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published
17 * by the Free Software Foundation, in version 2 as it comes in the
18 * "COPYING" file of the XWorkplace main distribution.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 */
24
25
26#ifndef __SIMPLES_DEFINED
27 // define some basic things to make this work even with standard C
28 #if (!defined OS2_INCLUDED) && (!defined _OS2_H) && (!defined __SIMPLES_DEFINED) // changed V0.9.0 (99-10-22) [umoeller]
29 typedef void VOID;
30 typedef unsigned long BOOL;
31 typedef long LONG;
32 typedef long *PLONG;
33 typedef unsigned long ULONG;
34 typedef unsigned long *PULONG;
35 typedef unsigned char *PSZ;
36 typedef const unsigned char *PCSZ;
37 #define TRUE (BOOL)1
38 #define FALSE (BOOL)0
39
40 #ifdef __IBMCPP__ // added V0.9.0 (99-10-22) [umoeller]
41 #define APIENTRY _System
42 #endif
43
44 #define __SIMPLES_DEFINED
45
46 #endif
47
48#endif
49
50
Note: See TracBrowser for help on using the repository browser.