vcpkg/ports/discord-game-sdk/include-cstdint.patch
Maki 0f161f9e12
[discord-game-sdk] Won't compile with certain compilers (#11728)
* [discord-game-sdk] Added required flag for compiling

* [discord-game-sdk] Added patch for fixing cstdint issue

* [discord-game-sdk] Bumped version for patch

* [discord-game-sdk] Formatting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-06-11 22:09:27 -07:00

26 lines
470 B
Diff

From 91fab7c4b8f7da3182f07f5392ebe9388f979157 Mon Sep 17 00:00:00 2001
From: Maki <mxmcube@gmail.com>
Date: Wed, 3 Jun 2020 01:40:58 +0100
Subject: [PATCH] Include cstdint
---
cpp/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpp/types.h b/cpp/types.h
index 8c7cc2b..122dc71 100644
--- a/cpp/types.h
+++ b/cpp/types.h
@@ -3,6 +3,8 @@
#include "ffi.h"
#include "event.h"
+#include <cstdint>
+
namespace discord {
enum class Result {
--
2.26.2