Author: theraven
Date: Wed Mar 14 14:39:07 2012
New Revision: 232971
URL: http://svn.freebsd.org/changeset/base/232971

Log:
  Expose some C11 stuff that is also C++11 stuff in C++11 mode.
  
  Approved by:  dim (mentor)

Modified:
  head/include/stdlib.h

Modified: head/include/stdlib.h
==============================================================================
--- head/include/stdlib.h       Wed Mar 14 14:34:14 2012        (r232970)
+++ head/include/stdlib.h       Wed Mar 14 14:39:07 2012        (r232971)
@@ -151,7 +151,7 @@ _Noreturn void       _Exit(int);
 /*
  * If we're in a mode greater than C99, expose C11 functions.
  */
-#if __ISO_C_VISIBLE >= 2011
+#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
 void * aligned_alloc(size_t, size_t);
 int    at_quick_exit(void (*)(void));
 _Noreturn void
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to