Don't add underscore prefix to amd64 symbols
[reactos.git] / reactos / tools / rbuild / backend / msvc / msvcmaker.cpp
index 857ee89..82bd3ee 100644 (file)
@@ -12,9 +12,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifdef _MSC_VER
@@ -95,9 +95,6 @@ MSVCBackend::_generate_dsp ( const Module& module )
        {
                const IfableData& data = *ifs_list.back();
                ifs_list.pop_back();
-               // TODO FIXME - refactor needed - we're discarding if conditions
-               for ( i = 0; i < data.ifs.size(); i++ )
-                       ifs_list.push_back ( &data.ifs[i]->data );
                const vector<File*>& files = data.files;
                for ( i = 0; i < files.size(); i++ )
                {
@@ -851,9 +848,9 @@ MSVCBackend::_generate_wine_dsw ( FILE* OUT )
 {
        _generate_dsw_header(OUT);
        // TODO FIXME - is it necessary to sort them?
-       for ( size_t i = 0; i < ProjectNode.modules.size(); i++ )
+       for( std::map<std::string, Module*>::const_iterator p = ProjectNode.modules.begin(); p != ProjectNode.modules.end(); ++ p )
        {
-               Module& module = *ProjectNode.modules[i];
+               Module& module = *p->second;
 
                std::string dsp_file = DspFileName ( module );