Bug 749518 - Forward declare dl_iterate_phdr with extern C. r=glandium

This commit is contained in:
Benoit Girard 2012-09-04 10:24:16 -04:00
parent 5a1ac360be
commit bdf8472a06

View File

@ -42,7 +42,7 @@ static ssize_t getline(char **lineptr, size_t *n, FILE *stream)
#include <sys/types.h>
#ifdef ANDROID
__attribute__((weak))
extern "C" __attribute__((weak))
int dl_iterate_phdr(
int (*callback) (struct dl_phdr_info *info,
size_t size, void *data),