Commit c9abe5ec authored by Thomas Guillem's avatar Thomas Guillem

contrib: gnutls: fix getenv on Android

parent 545426f9
--- gnutls.old/gl/secure_getenv.c 2016-07-13 16:36:42.095099707 +0200
+++ gnutls/gl/secure_getenv.c 2016-07-13 16:43:29.440899856 +0200
@@ -24,7 +24,7 @@
# include <unistd.h>
# else
# undef issetugid
-# ifdef _WIN32
+# if defined (_WIN32) || defined(__ANDROID__)
# define issetugid() 0
# else
# define issetugid() 1
......@@ -30,6 +30,7 @@ endif
endif
ifdef HAVE_ANDROID
$(APPLY) $(SRC)/gnutls/no-create-time-h.patch
$(APPLY) $(SRC)/gnutls/gnutls-android.patch
endif
$(APPLY) $(SRC)/gnutls/read-file-limits.h.patch
$(APPLY) $(SRC)/gnutls/mac-keychain-lookup.patch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment