Mercurial > dwindows
comparison os2/dw.c @ 1262:4b0aa8429592
VisualAge on OS/2 is missing M_PI in math.h so define it ourselves.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 25 Oct 2011 11:01:19 +0000 |
parents | 61d0c5f84644 |
children | 885b55c0d7d7 |
comparison
equal
deleted
inserted
replaced
1261:61d0c5f84644 | 1262:4b0aa8429592 |
---|---|
8658 | 8658 |
8659 if(!pixmap) | 8659 if(!pixmap) |
8660 WinReleasePS(hps); | 8660 WinReleasePS(hps); |
8661 } | 8661 } |
8662 | 8662 |
8663 /* VisualAge doesn't seem to have this */ | |
8664 #ifndef M_PI | |
8665 #define M_PI 3.14159265358979323846 | |
8666 #endif | |
8667 | |
8663 /* Draw an arc on a window (preferably a render window). | 8668 /* Draw an arc on a window (preferably a render window). |
8664 * Parameters: | 8669 * Parameters: |
8665 * handle: Handle to the window. | 8670 * handle: Handle to the window. |
8666 * pixmap: Handle to the pixmap. (choose only one of these) | 8671 * pixmap: Handle to the pixmap. (choose only one of these) |
8667 * flags: For future use. | 8672 * flags: For future use. |