diff gen/asm-x86-32.h @ 1190:ea7b8b6c96c0

Some more fixups for mingw -- missing underscores
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Thu, 02 Apr 2009 17:27:53 -0600
parents 97d80437cb80
children 1e30cc395d2e
line wrap: on
line diff
--- a/gen/asm-x86-32.h	Thu Apr 02 20:56:39 2009 +0200
+++ b/gen/asm-x86-32.h	Thu Apr 02 17:27:53 2009 -0600
@@ -2165,8 +2165,8 @@
                                 {
                                     use_star = false;
                                     // simply write out the mangle
-                                    // on osx, prepend extra _
-                                    if ( global.params.os == OSMacOSX )
+                                    // on osx and mingw, prepend extra _
+                                    if ( global.params.os == OSMacOSX || global.params.os == OSWindows )
                                         insnTemplate << "_";
                                     insnTemplate << decl->mangle();
 //              addOperand2("${", ":c}", Arg_Pointer, e, asmcode);