[Pcsclite-cvs-commit] r5869 - /trunk/PCSC/src/PCSC/wintypes.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jul 9 12:04:18 UTC 2011


Author: rousseau
Date: Sat Jul  9 12:04:18 2011
New Revision: 5869

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5869
Log:
Define PUCHAR using UCHAR instead of "unsigned char". Same for PDWORD
and PULONG.

We now have less lines to change to redefine types.

Modified:
    trunk/PCSC/src/PCSC/wintypes.h

Modified: trunk/PCSC/src/PCSC/wintypes.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/wintypes.h?rev=5869&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/wintypes.h (original)
+++ trunk/PCSC/src/PCSC/wintypes.h Sat Jul  9 12:04:18 2011
@@ -30,7 +30,7 @@
     typedef uint8_t BYTE;
 #endif
     typedef uint8_t UCHAR;
-    typedef uint8_t *PUCHAR;
+    typedef UCHAR *PUCHAR;
     typedef uint16_t USHORT;
 
 #ifndef __COREFOUNDATION_CFPLUGINCOM__
@@ -39,10 +39,10 @@
     typedef int16_t BOOL;
 #endif
 
-    typedef uint32_t *PULONG;
+    typedef ULONG *PULONG;
     typedef const void *LPCVOID;
     typedef uint32_t DWORD;
-    typedef uint32_t *PDWORD;
+    typedef DWORD *PDWORD;
     typedef uint16_t WORD;
     typedef int32_t LONG;
     typedef const char *LPCSTR;
@@ -57,7 +57,7 @@
 	typedef unsigned char BYTE;
 #endif
 	typedef unsigned char UCHAR;
-	typedef unsigned char *PUCHAR;
+	typedef UCHAR *PUCHAR;
 	typedef unsigned short USHORT;
 
 #ifndef __COREFOUNDATION_CFPLUGINCOM__
@@ -67,7 +67,7 @@
 
 	typedef const void *LPCVOID;
 	typedef unsigned long DWORD;
-	typedef unsigned long *PDWORD;
+	typedef DWORD *PDWORD;
 	typedef long LONG;
 	typedef const char *LPCSTR;
 	typedef const BYTE *LPCBYTE;
@@ -83,7 +83,7 @@
 	/* types unused by pcsc-lite */
 	typedef short BOOL;
 	typedef unsigned short WORD;
-	typedef unsigned long *PULONG;
+	typedef ULONG *PULONG;
 
 #endif
 




More information about the Pcsclite-cvs-commit mailing list