[llvm-commits] [compiler-rt] r157748 - /compiler-rt/trunk/lib/asan/asan_internal.h
Kostya Serebryany
kcc at google.com
Thu May 31 08:44:05 PDT 2012
Author: kcc
Date: Thu May 31 10:44:05 2012
New Revision: 157748
URL: http://llvm.org/viewvc/llvm-project?rev=157748&view=rev
Log:
[asan] partial fix for windows build
Modified:
compiler-rt/trunk/lib/asan/asan_internal.h
Modified: compiler-rt/trunk/lib/asan/asan_internal.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_internal.h?rev=157748&r1=157747&r2=157748&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_internal.h (original)
+++ compiler-rt/trunk/lib/asan/asan_internal.h Thu May 31 10:44:05 2012
@@ -22,20 +22,7 @@
#endif
#if defined(_WIN32)
-# if defined(__clang__)
-typedef int sptr;
-typedef unsigned int uptr;
-# endif
-// There's no <stdint.h> in Visual Studio 9, so we have to define [u]int*_t.
-typedef unsigned __int8 u8;
-typedef unsigned __int16 u16;
-typedef unsigned __int32 u32;
-typedef unsigned __int64 u64;
-typedef __int8 s8;
-typedef __int16 int16_t;
-typedef __int32 s32;
-typedef __int64 s64;
typedef unsigned long DWORD; // NOLINT
extern "C" void* _ReturnAddress(void);
More information about the llvm-commits
mailing list