Bugfix: Set the TEBF_WIN32 flag in teb.flags for 32-bit threads.

diff --git a/include/thread.h b/include/thread.h
index 60c4220..7a6d85b 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -53,6 +53,10 @@
     struct _PDB32 *process;      /* 30 owning process (used by NT3.51 applets)*/
 } TEB;
 
+/* Thread exception flags */
+#define TEBF_WIN32  0x0001
+#define TEBF_TRAP   0x0002
+
 /* Event waiting structure */
 typedef struct
 {