Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
 include/odp_drv.h                                 |  1 +
 platform/linux-generic/include/odp/drv/compiler.h | 34 +++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 platform/linux-generic/include/odp/drv/compiler.h

diff --git a/include/odp_drv.h b/include/odp_drv.h
index 51fca7a..a6d3a44 100644
--- a/include/odp_drv.h
+++ b/include/odp_drv.h
@@ -18,6 +18,7 @@
 extern C {
 #endif
 
+#include <odp/drv/compiler.h>
 #include <odp/drv/std_types.h>
 
 #ifdef __cplusplus
diff --git a/platform/linux-generic/include/odp/drv/compiler.h 
b/platform/linux-generic/include/odp/drv/compiler.h
new file mode 100644
index 0000000..24e84c5
--- /dev/null
+++ b/platform/linux-generic/include/odp/drv/compiler.h
@@ -0,0 +1,34 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier:     BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * Compiler related
+ */
+
+#ifndef ODPDRV_PLAT_COMPILER_H_
+#define ODPDRV_PLAT_COMPILER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @addtogroup odpdrv_compiler_optim ODPDRV COMPILER / OPTIMIZATION
+ *  @{
+ */
+
+/**
+ * @}
+ */
+
+#include <odp/drv/spec/compiler.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
-- 
2.1.4

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to