mirror of https://github.com/CGAL/cgal
Should fix the use of ::atoi under SunOS:
- include <cstdlib>, - use std::atoi.
This commit is contained in:
parent
2a12b45cc8
commit
76084f2ec9
|
|
@ -6,6 +6,8 @@
|
|||
#include <list>
|
||||
#include <iostream>
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
typedef CGAL::Double_map<int, int> Map;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
|
@ -17,7 +19,7 @@ int main(int argc, char** argv)
|
|||
#endif
|
||||
|
||||
if(argc > 1)
|
||||
number_of_elements = atoi(argv[1]);
|
||||
number_of_elements = std::atoi(argv[1]);
|
||||
|
||||
/* FOR VISUAL DEBUGGING */
|
||||
std::cerr << "Creating empty maps f and f2...\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue