aboutsummaryrefslogtreecommitdiff
path: root/databases/libpbl/files/patch-pbl.h
blob: c0db35186869557fde694d06ceb9f65c4c372b46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- pbl.h.orig	2011-05-23 18:11:38.000000000 +0200
+++ pbl.h	2011-05-23 18:16:48.000000000 +0200
@@ -643,7 +643,11 @@
 /**
  * The heap.
  */
+#ifdef __cplusplus
+typedef PblList PblHeap;
+#else
 typedef struct PblList PblHeap;
+#endif
 
 /**
  * The priority queue entry struct.
@@ -663,7 +667,11 @@
 /**
  * The priority queue.
  */
+#ifdef __cplusplus
+typedef PblList PblPriorityQueue;
+#else
 typedef struct PblList PblPriorityQueue;
+#endif
 
 /*****************************************************************************/
 /* variable declarations                                                     */