Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: ppapi/native_client/src/include/nacl_memory.h

Issue 10914053: Relocating files in the nacl repo that belong in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/include/nacl_memory.h
diff --git a/ppapi/native_client/src/include/nacl_memory.h b/ppapi/native_client/src/include/nacl_memory.h
new file mode 100644
index 0000000000000000000000000000000000000000..2930d9e4be6becc284e9be44377060cd053b692a
--- /dev/null
+++ b/ppapi/native_client/src/include/nacl_memory.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NATIVE_CLIENT_SRC_INCLUDE_MEMORY_H_
+#define NATIVE_CLIENT_SRC_INCLUDE_MEMORY_H_
+
+// Platform-specific includes for tr1::memory. The file is in a different
+// location on Windows than on *nix platforms.
+
+#ifdef __cplusplus
+
+#if NACL_LINUX || NACL_OSX || __native_client__
+#include <tr1/memory>
+#elif NACL_WINDOWS
+#include <memory>
+#else
+#error "tr1::memory header file not available for this platform."
+#endif
+
+#endif // __cplusplus
+
+#endif // NATIVE_CLIENT_SRC_INCLUDE_MEMORY_H_
+
« no previous file with comments | « ppapi/native_client/native_client.gyp ('k') | ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698