summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/Intl.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 12:08:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 15:50:01 +0200
commita2652e5bc46b411f894d0a343f6ea6a83f07e3e2 (patch)
tree0dc3797117bfb9a02f7f1615c46eebc9b717b3b6 /js/src/builtin/Intl.h
parent58751cc2ad952d73754fcf6bd894af865074ede6 (diff)
downloadUXP-a2652e5bc46b411f894d0a343f6ea6a83f07e3e2.tar
UXP-a2652e5bc46b411f894d0a343f6ea6a83f07e3e2.tar.gz
UXP-a2652e5bc46b411f894d0a343f6ea6a83f07e3e2.tar.lz
UXP-a2652e5bc46b411f894d0a343f6ea6a83f07e3e2.tar.xz
UXP-a2652e5bc46b411f894d0a343f6ea6a83f07e3e2.zip
Issue #325 Part 5: Remove non-Intl legacy code paths from js.
Diffstat (limited to 'js/src/builtin/Intl.h')
-rw-r--r--js/src/builtin/Intl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/src/builtin/Intl.h b/js/src/builtin/Intl.h
index b2197060d..9a1e44913 100644
--- a/js/src/builtin/Intl.h
+++ b/js/src/builtin/Intl.h
@@ -16,9 +16,7 @@
#include "js/GCAPI.h"
#include "js/GCHashTable.h"
-#if ENABLE_INTL_API
#include "unicode/utypes.h"
-#endif
/*
* The Intl module specified by standard ECMA-402,
@@ -429,7 +427,6 @@ intl_GetCalendarInfo(JSContext* cx, unsigned argc, Value* vp);
extern MOZ_MUST_USE bool
intl_ComputeDisplayNames(JSContext* cx, unsigned argc, Value* vp);
-#if ENABLE_INTL_API
/**
* Cast char16_t* strings to UChar* strings used by ICU.
*/
@@ -456,7 +453,6 @@ UCharToChar16(const UChar* chars)
{
return reinterpret_cast<const char16_t*>(chars);
}
-#endif // ENABLE_INTL_API
} // namespace js