components/stdcxx/patches/025-new.h.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 08 Sep 2016 12:41:54 -0700
changeset 6865 1cc50ab79b8c
parent 402 94ae4d75524c
permissions -rw-r--r--
22471212 daq fails to build with Studio 12.5 beta 22481259 snort fails to build with Studio 12.5 beta

--- stdcxx-4.2.1/include/new.h	2009-06-08 10:13:00.141832000 -0400
+++ stdcxx-4.2.1/include/new.h	2007-05-03 05:51:01.000000000 -0400
@@ -0,0 +1,19 @@
+/*
+        Copyright 06/08/98 Sun Microsystems, Inc. All Rights Reserved
+*/
+/* new.h
+
+   @(#)new.h	1.2  06/08/98 14:00:58
+
+   Compatibility declaration for ISO standard new interface
+*/
+
+#ifndef _NEW_H_
+#define _NEW_H_
+
+#include <new>
+
+using std::bad_alloc;
+using std::set_new_handler;
+
+#endif