--- a/security/manager/android_stub.h
+++ b/security/manager/android_stub.h
@@ -36,17 +36,17 @@
/* This file allows NSS to build by stubbing out
* features that aren't provided by Android/Bionic */
#ifndef ANDROID_STUB_H
#define ANDROID_STUB_H
#include "dlfcn.h"
-#if ANDROID_VERSION >= 8
+#if ANDROID_VERSION < 8
/* because dladdr isn't supported in android 2.1 and older.
* however, it exists in the android repos so.. maybe someday. */
typedef struct {
char *dli_fname;
} Dl_info;
#define dladdr(foo, bar) 0
#endif