COIN-OR::LEMON - Graph Library

Changeset 143:c3b45bb643b0 in lemon


Ignore:
Timestamp:
04/22/08 18:12:40 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Resolve several MSVC related compilation problems

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • demo/lgf_demo.cc

    r127 r143  
    3838int main(int argc, const char *argv[]) {
    3939  const int n = argc > 1 ? std::atoi(argv[1]) : 20;
    40   const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * log(n));
     40  const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * std::log(double(n)));
    4141  const int m = argc > 3 ? std::atoi(argv[3]) : 100;
    4242
  • lemon/graph_to_eps.h

    r134 r143  
    3030#include<ctime>
    3131#else
     32#define WIN32_LEAN_AND_MEAN
     33#define NOMINMAX
    3234#include<windows.h>
    3335#endif
  • lemon/time_measure.h

    r126 r143  
    2525
    2626#ifdef WIN32
     27#define WIN32_LEAN_AND_MEAN
     28#define NOMINMAX
    2729#include <windows.h>
    2830#include <cmath>
     
    3234#endif
    3335
     36#include <string>
    3437#include <fstream>
    3538#include <iostream>
Note: See TracChangeset for help on using the changeset viewer.