mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:43:13 +00:00
- Add compile-time assert, since ReactOS opengl32 depends on the hardcoded value.
svn path=/trunk/; revision=31217
This commit is contained in:
parent
927f7b56aa
commit
0c6328a1e0
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "teb.h"
|
#include "teb.h"
|
||||||
|
|
||||||
|
#define C_ASSERT(e) extern char __C_ASSERT__[(e)?1:-1]
|
||||||
|
C_ASSERT(FIELD_OFFSET(TEB, glTable) == 0xbe8);
|
||||||
|
|
||||||
#include "opengl32.h"
|
#include "opengl32.h"
|
||||||
|
|
||||||
int STDCALL glEmptyFunc0() { return 0; }
|
int STDCALL glEmptyFunc0() { return 0; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue