[PATCH] [libcxx] Get categories.time localization tests passing on linux

Ed Maste emaste at freebsd.org
Thu Aug 21 07:33:41 PDT 2014


================
Comment at: test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp:47
@@ -45,1 +46,3 @@
+    // this test non-portable
+#ifdef __APPLE__
     {
----------------
Perhaps `!defined(__GLIBC__)` instead.  FreeBSD has no timezone with `%c` either.

http://reviews.llvm.org/D4999






More information about the cfe-commits mailing list