Skip to content

Instantly share code, notes, and snippets.

@1480c1
Last active Feb 27, 2021
Embed
What would you like to do?
gpac
diff --git a/src/utils/downloader.c b/src/utils/downloader.c
index 39708d97c..3dd7e15bd 100644
--- a/src/utils/downloader.c
+++ b/src/utils/downloader.c
@@ -44,8 +44,7 @@
#endif
#ifdef GPAC_HAS_HTTP2
-#if defined(_MSC_VER)
-typedef SSIZE_T ssize_t;
+#if defined(_WIN32)
#define NGHTTP2_STATICLIB
#endif
#include <nghttp2/nghttp2.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment