source: trunk/src/emx/include/os2safe.h@ 1015

Last change on this file since 1015 was 810, checked in by bird, 22 years ago

#608: High memory support.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.7 KB
Line 
1/* os2safe.h,v 1.1 2003/10/06 00:54:20 bird Exp */
2/** @file
3 *
4 * OS/2 API High Memory Wrappers.
5 * You include this file before os2.h and link with -los2safe.
6 *
7 * Copyright (c) 2003 knut st. osmundsen <bird-srcspam@anduin.net>
8 *
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with This program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *
24 */
25#ifndef __os2safe_h__
26#define __os2safe_h__
27
28#if defined(_OS2_H) || defined(_OS2EMX_H) || defined(__OS2_H__) || defined(OS2_INCLUDED)
29#warning "os2safe.h must be included _before_ os2.h!"
30#endif
31
32#define DosForceDelete SafeDosForceDelete
33#define DosQueryHType SafeDosQueryHType
34#define DosCreatePipe SafeDosCreatePipe
35#define DosQueryNPHState SafeDosQueryNPHState
36#define DosWaitNPipe SafeDosWaitNPipe
37#define DosSetFilePtr SafeDosSetFilePtr
38#define DosSetFilePtrL SafeDosSetFilePtrL
39#define DosDupHandle SafeDosDupHandle
40#define DosOpenL SafeDosOpenL
41#define DosQueryFHState SafeDosQueryFHState
42#define DosSetDateTime SafeDosSetDateTime
43
44#endif
Note: See TracBrowser for help on using the repository browser.