Skip to content

Commit

Permalink
Update llco
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Apr 20, 2024
1 parent e7a1b30 commit 2c3852d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions deps/.package
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import github.com/tidwall/sco v0.1.0
import github.com/tidwall/stack v0.1.0
import github.com/tidwall/sco v0.1.1

sum ad1e36373245380b0f5588c11f1a69369171436a sco.c
sum 92baa4119d14dbb2b1effcd2eaeb4adcba8befc1 sco.h
3 changes: 2 additions & 1 deletion deps/sco.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,8 @@ struct llco_dlinfo {
void *dli_saddr; /* Address of nearest symbol */
};

#ifdef __linux__

#if defined(__linux__) && !defined(_GNU_SOURCE)
int dladdr(const void *, void *);
#endif

Expand Down
3 changes: 2 additions & 1 deletion neco.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,8 @@ struct llco_dlinfo {
void *dli_saddr; /* Address of nearest symbol */
};

#ifdef __linux__

#if defined(__linux__) && !defined(_GNU_SOURCE)
int dladdr(const void *, void *);
#endif

Expand Down

0 comments on commit 2c3852d

Please sign in to comment.