Mercurial > dwindows
diff dw.h @ 1404:56f311dc23f6
Changes to get the library building with Watcom on OS/2.
These changes mean that VisualAge 3.0 will no longer build the library.
Please use version 3.6 or higher.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 29 Nov 2011 15:25:41 +0000 |
parents | 943266c86aed |
children | ddf9cfb4a074 |
line wrap: on
line diff
--- a/dw.h Mon Nov 28 05:49:27 2011 +0000 +++ b/dw.h Tue Nov 29 15:25:41 2011 +0000 @@ -67,8 +67,10 @@ #if defined(__OS2__) || (defined(__WIN32__) && !defined(GDK_WINDOWING_WIN32)) || defined(__MAC__) || (defined(WINNT) && !defined(GDK_WINDOWING_WIN32)) || defined(__EMX__) /* OS/2, Windows or MacOS */ -#if (defined(__IBMC__) || defined(_System)) && !defined(API) -#define API _System +#ifdef __OS2__ +# if (defined(__IBMC__) || defined(__WATCOMC__) || defined(_System)) && !defined(API) +# define API _System +# endif #endif /* Used internally */