update for HEAD-2003021201
[reactos.git] / include / msvcrt / internal / tls.h
index bbc21e9..b1ec17d 100644 (file)
@@ -3,25 +3,26 @@
 #ifndef __MSVCRT_INTERNAL_TLS_H
 #define __MSVCRT_INTERNAL_TLS_H
 
+#include <msvcrt/crttypes.h>
 #include <msvcrt/stddef.h>
 
 typedef struct _ThreadData
 {
-  int terrno;                                  /* *nix error code */
-  unsigned long tdoserrno;                     /* Win32 error code (for I/O only) */
-  unsigned long long tnext;                    /* used by rand/srand */
+  int terrno;                   /* *nix error code */
+  unsigned long tdoserrno;      /* Win32 error code (for I/O only) */
+  unsigned LONGLONG tnext;      /* used by rand/srand */
 
-  char *lasttoken;                             /* used by strtok */
-  wchar_t *wlasttoken;                         /* used by wcstok */
+  char *lasttoken;              /* used by strtok */
+  wchar_t *wlasttoken;          /* used by wcstok */
 
 
-  int fpecode;                                 /* fp exception code */
+  int fpecode;                  /* fp exception code */
 
   /* qsort variables */
-  int (*qcmp)(const void *, const void *);     /* the comparison routine */
-  int qsz;                                     /* size of each record */
-  int thresh;                                  /* THRESHold in chars */
-  int mthresh;                                 /* MTHRESHold in chars */
+  int (*qcmp)(const void *, const void *);  /* the comparison routine */
+  int qsz;                      /* size of each record */
+  int thresh;                   /* THRESHold in chars */
+  int mthresh;                  /* MTHRESHold in chars */
 
 } THREADDATA, *PTHREADDATA;