|
From: | Sebastien Metrot <address@hidden> |
Subject: | [ngl-commits] changed ngl.h so that window.h doesn't define DrawText to DrawTextA/W |
Date: | Sat, 08 Nov 2003 23:32:49 -0500 |
Commit from meeloo | 2003-11-08 23:32 EST |
changed ngl.h so that window.h doesn't define DrawText to DrawTextA/W
Module | File name | Revision | |||
---|---|---|---|---|---|
ngl | ChangeLog | 1.348 | >>> | 1.349 | |
ngl | include/ngl.h | 1.53 | >>> | 1.54 |
ngl/ChangeLog 1.348 >>> 1.349 |
---|
Line 1 |
+ 2003/11/9 05:32 meeloo + - changed ngl.h so that font rendering macros of Windows.h are disabled! + |
2003/10/28 01:45 zerodeux - ngl.h: fixed Unix compilation bug (<stddef.h> for ptrdiff_t) |
ngl/include/ngl.h 1.53 >>> 1.54 |
---|
Line 141 |
#pragma comment( lib , "winmm.lib" ) //#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h |
+ #define NODRAWTEXT // Prevent includsion of DrawText defines in windows.h. |
#include <windows.h> #include <malloc.h> #include <cstdio> |
[Prev in Thread] | Current Thread | [Next in Thread] |