This is an automated email from the ASF dual-hosted git repository.
zykkk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 4dd3b2ec096 [fix](build) Fix compilation error on MacOS caused by
unsupported include (#49531)
4dd3b2ec096 is described below
commit 4dd3b2ec09610190368a89d8b75c115931b5f730
Author: zy-kkk <[email protected]>
AuthorDate: Thu Mar 27 10:52:37 2025 +0800
[fix](build) Fix compilation error on MacOS caused by unsupported include
(#49531)
#include <experimental/bits/simd.h> is not used on MacOS and it will
cause compilation errors, so we can just ignore it on MacOS
---
be/src/vec/functions/function_datetime_floor_ceil.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/vec/functions/function_datetime_floor_ceil.cpp
b/be/src/vec/functions/function_datetime_floor_ceil.cpp
index 59c9694eee1..7eec7f88b39 100644
--- a/be/src/vec/functions/function_datetime_floor_ceil.cpp
+++ b/be/src/vec/functions/function_datetime_floor_ceil.cpp
@@ -15,7 +15,9 @@
// specific language governing permissions and limitations
// under the License.
+#if !defined(__APPLE__)
#include <experimental/bits/simd.h>
+#endif
#include <glog/logging.h>
#include <algorithm>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]