]> git.cworth.org Git - apitrace/blobdiff - egltrace.py
Don't abuse NotImplementedError.
[apitrace] / egltrace.py
index 1787c0b3e2989b865a2d971e026f67d61e6b94b1..5d5c7593a9f51b8663b901e9fe969786d7fa2115 100644 (file)
@@ -113,6 +113,12 @@ if __name__ == '__main__':
     print r'''
 
 
+/*
+ * Android does not support LD_PRELOAD.
+ */
+#if !defined(ANDROID)
+
+
 /*
  * Invoke the true dlopen() function.
  */
@@ -186,5 +192,8 @@ void * dlopen(const char *filename, int flag)
 }
 
 
+#endif /* !ANDROID */
+
+
 
 '''