1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-17 09:19:15 -04:00
ports/math/bamg/files/patch-Xrgraph.cpp
Kirill Ponomarev c19f8483b3 Add bamg 0.68, bidimensional Anisotrope Mesh Generator.
http://www-rocq1.inria.fr/gamma/cdrom/www/bamg/eng.htm

PR:		60837
Submitted by:	Thierry Thomas <thierry@pompo.net>
2004-01-02 21:54:30 +00:00

28 lines
504 B
C++

--- Xrgraph.cpp.orig Wed Mar 29 14:13:46 2000
+++ Xrgraph.cpp Fri Dec 19 13:37:03 2003
@@ -18,9 +18,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
-#include <iostream.h>
+#include <iostream>
#include <assert.h>
+using std::cout;
+using std::cerr;
+using std::endl;
+
#define MAXSHORT 0xFFFF
#ifdef HPPA
@@ -82,8 +86,8 @@
exit(err);}
#ifdef FREEFEM
-#include <fstream.h>
-#include <new.h>
+#include <fstream>
+#include <new>
void out_of_memory ();
void myexit(int );