Skip to content

Instantly share code, notes, and snippets.

@1480c1
Last active February 27, 2021 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1480c1/bafa226fdfc58b078276bc741fff82ca to your computer and use it in GitHub Desktop.
Save 1480c1/bafa226fdfc58b078276bc741fff82ca to your computer and use it in GitHub Desktop.
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