Bug 1288644 - Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21. r=glandium

MozReview-Commit-ID: AUEQjIBk50H

--HG--
extra : rebase_source : 6ce4e2d3537951054432ce2a9689222a8923f69a
This commit is contained in:
Makoto Kato 2016-07-22 16:40:21 +09:00
parent 96c8b2dca4
commit 2e27b62687

View File

@ -17,6 +17,11 @@
#include <linux/kernel.h>
#include <unistd.h>
#ifndef ANDROID_VERSION
#include <android/api-level.h>
#define ANDROID_VERSION __ANDROID_API__
#endif
/* Use this stub version of getdtablesize
* instead of the one in the header */
__attribute__((unused))