Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
☠☠ backed out by 15f55912548a ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 07 Jan 2014 22:16:17 -0500
changeset 178483 07a4682a75f2a17998c497cf24a5122a4b50d2b6
parent 178482 fae95974f0fdaafc3d0c8e87a0ba35ba43a394af
child 178484 15f55912548ad30b95e98711a6cc67c08be86f4f
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcranmer
bugs956507
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
mfbt/Char16.h
--- a/mfbt/Char16.h
+++ b/mfbt/Char16.h
@@ -163,20 +163,16 @@ operator-(const char16_t* x, const char1
 }
 
 #else
 
 typedef const char16_t* char16ptr_t;
 
 #endif
 
-/* This is a temporary hack until bug 927728 is fixed. */
-#define __PRUNICHAR__
-typedef char16_t PRUnichar;
-
 /*
  * Macro arguments used in concatenation or stringification won't be expanded.
  * Therefore, in order for |MOZ_UTF16(FOO)| to work as expected (which is to
  * expand |FOO| before doing whatever |MOZ_UTF16| needs to do to it) a helper
  * macro, |MOZ_UTF16_HELPER| needs to be inserted in between to allow the macro
  * argument to expand. See "3.10.6 Separate Expansion of Macro Arguments" of the
  * CPP manual for a more accurate and precise explanation.
  */