aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/include/new
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++/include/new')
-rw-r--r--libstdc++/include/new22
1 files changed, 17 insertions, 5 deletions
diff --git a/libstdc++/include/new b/libstdc++/include/new
index cffab6e1c..9d1c6fc66 100644
--- a/libstdc++/include/new
+++ b/libstdc++/include/new
@@ -1,6 +1,20 @@
-/* -*- c++ -*- */
-#ifndef __NEW__
-#define __NEW__
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#pragma once
#include <stddef.h>
@@ -31,5 +45,3 @@ inline void operator delete(void*, void*) throw() { }
inline void operator delete[](void*, void*) throw() { }
} // extern C++
-
-#endif // __NEW__