- Add compile-time assert, since ReactOS opengl32 depends on the hardcoded value.

svn path=/trunk/; revision=31217
This commit is contained in:
Aleksey Bragin 2007-12-14 16:00:53 +00:00
parent 927f7b56aa
commit 0c6328a1e0

View file

@ -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; }