3b3b60a335
`Proof of concept', port doesn't really work yet. - kpresenter crashes, - all parts only run under koshell control, - closing any document will crash koffice. Apart from that, this looks usable.
21 lines
462 B
Plaintext
21 lines
462 B
Plaintext
$OpenBSD: patch-kchart_engine_h,v 1.1.1.1 2000/12/18 02:54:59 espie Exp $
|
|
--- kchart/engine.h.orig Mon Dec 18 01:55:26 2000
|
|
+++ kchart/engine.h Mon Dec 18 02:32:51 2000
|
|
@@ -13,7 +13,16 @@
|
|
|
|
#include <qfont.h>
|
|
#include <qcolor.h>
|
|
+#ifdef __OpenBSD__
|
|
+#include <limits.h>
|
|
+#include <math.h>
|
|
+#define MAXSHORT SHRT_MAX
|
|
+#define MAXINT INT_MAX
|
|
+#define MAXDOUBLE DBL_MAX
|
|
+#else
|
|
#include <values.h>
|
|
+#endif
|
|
+
|
|
#include <kchart_part.h>
|
|
|
|
class KChartParameters;
|