changeset 749:06cdd106d61c

Updated Visual C++ support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Nov 2003 19:58:29 +0000
parents c1c09472dc7f
children ce48d14ca5bf
files VisualC.zip src/cpuinfo/SDL_cpuinfo.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
Binary file VisualC.zip has changed
--- a/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 09:30:40 2003 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 19:58:29 2003 +0000
@@ -59,7 +59,7 @@
 	: "%eax", "%ecx"
 	);
 #elif defined(_MSC_VER)
-	__asm__ {
+	__asm {
         pushfd                      ; Get original EFLAGS
         pop     eax
         mov     ecx, eax
@@ -102,7 +102,7 @@
 	: "%eax", "%ebx", "%ecx", "%edx"
 	);
 #elif defined(_MSC_VER)
-	__asm__ {
+	__asm {
         xor     eax, eax            ; Set up for CPUID instruction
         cpuid                       ; Get and save vendor ID
         cmp     eax, 1              ; Make sure 1 is valid input for CPUID
@@ -162,7 +162,7 @@
 	: "%eax", "%ebx", "%ecx", "%edx"
 	);
 #elif defined(_MSC_VER)
-	__asm__ {
+	__asm {
         mov     eax,80000000h       ; Query for extended functions
         cpuid                       ; Get extended function limit
         cmp     eax,80000001h