[MKSHELLLINK]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Dec 2011 21:58:53 +0000 (21:58 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Dec 2011 21:58:53 +0000 (21:58 +0000)
Fix MSVC build.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54650

reactos/tools/mkshelllink/mkshelllink.c

index 1902a6b..7f5cda4 100644 (file)
@@ -8,7 +8,13 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#ifndef _MSC_VER
 #include <stdint.h>
+#else
+typedef unsigned __int8 uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+#endif
 
 #define SW_SHOWNORMAL 1
 #define SW_SHOWMINNOACTIVE 7