Should fix the use of ::atoi under SunOS:

- include <cstdlib>,
  - use std::atoi.
This commit is contained in:
Laurent Rineau 2007-11-07 10:23:42 +00:00
parent 2a12b45cc8
commit 76084f2ec9
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
#include <list> #include <list>
#include <iostream> #include <iostream>
#include <cstdlib>
typedef CGAL::Double_map<int, int> Map; typedef CGAL::Double_map<int, int> Map;
int main(int argc, char** argv) int main(int argc, char** argv)
@ -17,7 +19,7 @@ int main(int argc, char** argv)
#endif #endif
if(argc > 1) if(argc > 1)
number_of_elements = atoi(argv[1]); number_of_elements = std::atoi(argv[1]);
/* FOR VISUAL DEBUGGING */ /* FOR VISUAL DEBUGGING */
std::cerr << "Creating empty maps f and f2...\n"; std::cerr << "Creating empty maps f and f2...\n";