From a639a788cbec1c2459197acb2b06bda9b07f94b0 Mon Sep 17 00:00:00 2001
From: Zhehang Ding <zhehangd@gmail.com>
Date: Mon, 7 Oct 2024 20:51:51 +0800
Subject: [PATCH] Use namespace in defs.hpp

---
 include/godot_cpp/core/defs.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/godot_cpp/core/defs.hpp b/include/godot_cpp/core/defs.hpp
index 16812c2b40..ab6400d3f1 100644
--- a/include/godot_cpp/core/defs.hpp
+++ b/include/godot_cpp/core/defs.hpp
@@ -35,6 +35,8 @@
 #include <cstdint>
 #include <cstring>
 
+namespace godot {
+
 #if !defined(GDE_EXPORT)
 #if defined(_WIN32)
 #define GDE_EXPORT __declspec(dllexport)
@@ -127,4 +129,6 @@ struct BuildIndexSequence : BuildIndexSequence<N - 1, N - 1, Is...> {};
 template <size_t... Is>
 struct BuildIndexSequence<0, Is...> : IndexSequence<Is...> {};
 
+}
+
 #endif // GODOT_DEFS_HPP