summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-12-27 19:59:54 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-12-27 19:59:54 +0000
commit83304a3ecc3c37ca16420204131df40d048022fa (patch)
tree2d20fbe4b028fa169afae8121ccdfeb0b18bac85
parent39e8c3f232c8a30617492cfe3bad87c44a39384c (diff)
downloadcygnal-83304a3ecc3c37ca16420204131df40d048022fa.tar.gz
cygnal-83304a3ecc3c37ca16420204131df40d048022fa.tar.bz2
cygnal-83304a3ecc3c37ca16420204131df40d048022fa.zip
2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
* include/basetsd.h: (INT8, UINT8, INT16, UINT16): Define.
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/basetsd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index b0b87cc50..05ae45afe 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
+
+ * include/basetsd.h: (INT8, UINT8, INT16, UINT16): Define.
+
2010-12-27 Paul Sokolovsky <pfalcon@users.sf.net>
* include/bdatypes.h: Add missing semicolons.
diff --git a/winsup/w32api/include/basetsd.h b/winsup/w32api/include/basetsd.h
index d9c375dd9..91d9da748 100644
--- a/winsup/w32api/include/basetsd.h
+++ b/winsup/w32api/include/basetsd.h
@@ -47,10 +47,14 @@
#ifdef __cplusplus
extern "C" {
#endif
+typedef signed char INT8;
+typedef signed short INT16;
typedef int LONG32, *PLONG32;
#ifndef XFree86Server
typedef int INT32, *PINT32;
#endif /* ndef XFree86Server */
+typedef unsigned char UINT8;
+typedef unsigned short UINT16;
typedef unsigned int ULONG32, *PULONG32;
typedef unsigned int DWORD32, *PDWORD32;
typedef unsigned int UINT32, *PUINT32;