summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-12-31 22:13:06 -0700
committerKarl Williamson <public@khwilliamson.com>2014-01-01 13:49:24 -0700
commit0f092d081073e047f09aa9ef4f1d62bf5db65747 (patch)
tree9f25954052f9270fc289a88befe80f2b730e8e2e /utf8.h
parent7c08c4c54fcfe6d3c4509e5c583cbb38723f9237 (diff)
downloadperl-0f092d081073e047f09aa9ef4f1d62bf5db65747.tar.gz
Move a macro from utf8.h to handy.h for wider use.
Future commits will want this available outside utf8.h
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/utf8.h b/utf8.h
index 8504207d0e..2d4877552b 100644
--- a/utf8.h
+++ b/utf8.h
@@ -364,16 +364,6 @@ Perl's extended UTF-8 means we can have start bytes up to FF.
I8_TO_NATIVE_UTF8((translate_function(c) & UTF_CONTINUATION_MASK) \
| UTF_CONTINUATION_MARK)
-/* This is another helper macro to avoid preprocessor issues, expanding to an
- * assert followed by a comma under DEBUGGING (hence the comma operator). If
- * we didn't do this, we would get a comma with nothing before it when not
- * DEBUGGING */
-#ifdef DEBUGGING
-# define __ASSERT_(statement) assert(statement),
-#else
-# define __ASSERT_(statement)
-#endif
-
/* The next two macros should not be used. They were designed to be usable as
* the case label of a switch statement, but this doesn't work for EBCDIC. Use
* regen/unicode_constants.pl instead */