Changeset 1365


Ignore:
Timestamp:
Apr 15, 2004, 12:47:37 AM (21 years ago)
Author:
bird
Message:

Support for the IBM Visual Age compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/os2emx.h

    • Property cvs2svn:cvs-rev changed from 1.14 to 1.15
    r1364 r1365  
    152152
    153153/* ------------------------ DISABLE KEYWORDS ------------------------------ */
    154 #ifndef _System
     154#if !defined (_System) && !defined (__IBMC__) && !defined (__IBMCPP__)
    155155#define APIENTRY
    156156#define EXPENTRY
     
    162162
    163163/* ------------------------ CONSTANTS AND TYPES --------------------------- */
     164
     165#if defined (__IBMC__) || defined (__IBMCPP__)
     166#ifndef __const__
     167#define __const__ const
     168#endif
     169#ifndef __attribute__
     170#define __attribute__(a)
     171#endif
     172#ifndef __volatile__
     173#define __volatile__ volatile
     174#endif
     175#if !defined (INCL_LONGLONG_STRUCTS)
     176#define INCL_LONGLONG_STRUCTS
     177#endif
     178#endif
    164179
    165180#if !defined (FALSE)
     
    1328713302#define GETLINFOSEG()       ((PLINFOSEG)(void*)(((unsigned)&DosLocalInfo & 0xfff8)  << 13))
    1328813303
     13304#if defined (__IBMC__) || defined (__IBMCPP__)
     13305#pragma import (DosGlobalInfo, "DosGlobalInfo", "doscalls", 217)
     13306#pragma import (DosLocalInfo,  "DosLocalInfo",  "doscalls", 216)
     13307#endif
     13308
    1328913309#endif /* INCL_DOSINFOSEG */
    1329013310
Note: See TracChangeset for help on using the changeset viewer.