summaryrefslogtreecommitdiff
path: root/TAO/tao/BiDir_GIOP/diffs/BiDirPolicy.diff
blob: 625ccc8ea8be839af003a03b44f0f168ff7a8dc6 (plain)
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
27
28
29
30
31
32
--- orig/BiDirPolicyC.h	2005-02-18 12:27:27.078513600 +0100
+++ BiDirPolicyC.h	2005-02-18 12:27:27.278801600 +0100
@@ -33,6 +33,9 @@
 
 #include /**/ "ace/pre.h"
 
+#ifndef TAO_BIDIRGIOP_SAFE_INCLUDE
+#error "You should not include BiDirPolicyC.h directly, use BiDirGIOP.h"
+#endif /* !TAO_BIDIRGIOP_SAFE_INCLUDE */
 
 #include "ace/config-all.h"
 
@@ -47,6 +50,8 @@
 #include "tao/Object.h"
 #include "tao/Objref_VarOut_T.h"
 
+#include "tao/PolicyC.h"
+
 #if defined (TAO_EXPORT_MACRO)
 #undef TAO_EXPORT_MACRO
 #endif
--- orig/BiDirPolicyC.cpp	2005-02-18 12:27:27.078513600 +0100
+++ BiDirPolicyC.cpp	2005-02-18 12:27:27.288816000 +0100
@@ -29,7 +29,7 @@
 // be\be_codegen.cpp:302
 
 
-#include "BiDirPolicyC.h"
+#include "BiDirGIOP.h"
 #include "tao/CDR.h"
 #include "ace/OS_NS_string.h"