summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/unicode/dtintrv.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/unicode/dtintrv.h')
-rw-r--r--deps/icu-small/source/common/unicode/dtintrv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/icu-small/source/common/unicode/dtintrv.h b/deps/icu-small/source/common/unicode/dtintrv.h
index 625456f0c8..325faa3ccb 100644
--- a/deps/icu-small/source/common/unicode/dtintrv.h
+++ b/deps/icu-small/source/common/unicode/dtintrv.h
@@ -15,6 +15,9 @@
#define __DTINTRV_H__
#include "unicode/utypes.h"
+
+#if U_SHOW_CPLUSPLUS_API
+
#include "unicode/uobject.h"
/**
@@ -22,7 +25,6 @@
* \brief C++ API: Date Interval data type
*/
-
U_NAMESPACE_BEGIN
@@ -157,4 +159,6 @@ DateInterval::operator!=(const DateInterval& other) const {
U_NAMESPACE_END
+#endif /* U_SHOW_CPLUSPLUS_API */
+
#endif