Created
August 17, 2024 22:28
-
-
Save 413x1nkp/7936bd34dc9b826892d2efbb52d39606 to your computer and use it in GitHub Desktop.
small patch for ImGuiFileDialog to build with cimgui
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 3d44b9f4a4f4adf5cc798b12663f800b6dcd3ac7 Mon Sep 17 00:00:00 2001 | |
From: Alex Murkoff <[email protected]> | |
Date: Sun, 18 Aug 2024 05:23:48 +0700 | |
Subject: [PATCH] fix cstdint not found error in C API | |
--- | |
ImGuiFileDialog.h | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
diff --git a/ImGuiFileDialog.h b/ImGuiFileDialog.h | |
index 03b75a7..69a3d9d 100644 | |
--- a/ImGuiFileDialog.h | |
+++ b/ImGuiFileDialog.h | |
@@ -184,9 +184,10 @@ struct IGFD_Thumbnail_Info { | |
}; | |
#endif // USE_THUMBNAILS | |
-#include <cstdint> | |
+#include <stdint.h> | |
#ifdef __cplusplus | |
+#include <cstdint> | |
#ifndef IMGUI_DEFINE_MATH_OPERATORS | |
#define IMGUI_DEFINE_MATH_OPERATORS | |
-- | |
2.46.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment