From 70be4639a3cba9e464256d83e3d8893e76ff6ac9 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Wed, 12 Aug 2020 22:39:10 +0800 Subject: [PATCH] TD-1047 change include files --- src/os/inc/os.h | 6 +++- src/os/inc/osArm64.h | 85 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 src/os/inc/osArm64.h diff --git a/src/os/inc/os.h b/src/os/inc/os.h index 11c423a500..6b9517a4b2 100644 --- a/src/os/inc/os.h +++ b/src/os/inc/os.h @@ -25,7 +25,11 @@ extern "C" { #endif #ifdef _TD_LINUX_64 -#include "osLinux64.h" + #ifdef _TD_ARM_64 + #include "osArm64.h" + #elif + #include "osLinux64.h" + #endif #endif #ifdef _TD_LINUX_32 diff --git a/src/os/inc/osArm64.h b/src/os/inc/osArm64.h new file mode 100644 index 0000000000..3ae08b45f4 --- /dev/null +++ b/src/os/inc/osArm64.h @@ -0,0 +1,85 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef TDENGINE_OS_ARM64_H +#define TDENGINE_OS_ARM64_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef __cplusplus +} +#endif + +#endif -- GitLab