summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h')
-rw-r--r--CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h b/CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h
index 920f4051bd4..4e51ef3e61a 100644
--- a/CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h
+++ b/CIAO/connectors/dds4ccm/impl/ndds/SampleLostStatus.h
@@ -7,14 +7,9 @@
* Wrapper facade for NDDS.
*/
-#ifndef DDS4CCM_SAMPLELOSTSTATUS_H
-#define DDS4CCM_SAMPLELOSTSTATUS_H
+#ifndef CIAO_RTI_SAMPLELOSTSTATUS_H
+#define CIAO_RTI_SAMPLELOSTSTATUS_H
-#if defined (CIAO_DDS4CCM_OPENDDS) && (CIAO_DDS4CCM_OPENDDS==1)
-typedef ::DDS::SampleLostStatus DDS_SampleLostStatus;
-#endif
-
-#if defined (CIAO_DDS4CCM_NDDS) && (CIAO_DDS4CCM_NDDS==1)
inline void
operator<<= (::DDS::SampleLostStatus &ddsstatus, const ::DDS_SampleLostStatus & status)
{
@@ -28,7 +23,6 @@ operator>>= (const ::DDS_SampleLostStatus &status, ::DDS::SampleLostStatus & dds
ddsstatus.total_count = status.total_count;
ddsstatus.total_count_change = status.total_count_change;
}
-#endif
-#endif /* DDS4CCM_SAMPLELOSTSTATUS_H */
+#endif /* CIAO_RTI_SAMPLELOSTSTATUS_H */