Last active
December 1, 2018 11:22
-
-
Save JCash/8a156717494d3259ca38ee8d75630a3e to your computer and use it in GitHub Desktop.
A patch file to use with osxcross, to avoid a compile error. Modify build.sh to apply this patch too
This file contains 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
--- include/foreign/dlfcn_backup.h 2018-11-18 21:22:45.000000000 +0100 | |
+++ include/foreign/dlfcn.h 2018-11-18 21:23:00.000000000 +0100 | |
@@ -3,7 +3,7 @@ | |
#include_next <dlfcn.h> | |
#include <stdio.h> /* stderr */ | |
#ifdef __CYGWIN__ | |
-typedef struct dl_info { | |
+/*typedef struct dl_info { | |
const char *dli_fname; | |
void *dli_fbase; | |
const char *dli_sname; | |
@@ -14,6 +14,6 @@ | |
{ | |
fprintf(stderr, "dladdr() not implemented\n"); | |
return 0; | |
-} | |
+}*/ | |
#endif /* __CYGWIN__ */ | |
#endif /* __CCTOOLS_PORT_DLFCN_H__ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment