mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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 "teb.h"
|
||||
|
||||
#define C_ASSERT(e) extern char __C_ASSERT__[(e)?1:-1]
|
||||
C_ASSERT(FIELD_OFFSET(TEB, glTable) == 0xbe8);
|
||||
|
||||
#include "opengl32.h"
|
||||
|
||||
int STDCALL glEmptyFunc0() { return 0; }
|
||||
|
|
Loading…
Reference in a new issue