Commit 01b666f2 by alokp@chromium.org

Fixed compilation error on mingw. Used _MSC_VER for MSVC-specific code instead…

Fixed compilation error on mingw. Used _MSC_VER for MSVC-specific code instead of WIN32. Recieved patch from cjacek. BUG=12 Review URL: http://codereview.appspot.com/1694049 git-svn-id: https://angleproject.googlecode.com/svn/trunk@343 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 9abe956e
......@@ -83,15 +83,15 @@ static int byte_scan(InputSrc *, yystypepp * yylvalpp);
#define EOL_SY '\n'
#if defined(_WIN32)
#if defined(_MSC_VER)
#define DBG_BREAKPOINT() __asm int 3
#elif defined(_M_AMD64)
#elif defined(_M_AMD64)
#define DBG_BREAKPOINT() assert(!"Dbg_Breakpoint");
#else
#else
#define DBG_BREAKPOINT()
#endif
#endif
#if defined(_WIN32) && !defined(_M_AMD64)
#if defined(_MSC_VER) && !defined(_M_AMD64)
__int64 RDTSC ( void ) {
__int64 v;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment