Usermode/ld-acess - Fix unconditional inclusion of assert.h in shared code
authorJohn Hodge <[email protected]>
Sun, 16 Mar 2014 09:08:20 +0000 (17:08 +0800)
committerJohn Hodge <[email protected]>
Sun, 16 Mar 2014 09:08:20 +0000 (17:08 +0800)
Usermode/Libraries/ld-acess.so_src/elf.c

index 27cf96c..71e9a92 100644 (file)
@@ -15,7 +15,9 @@
 
 #include "common.h"
 #include <stdint.h>
-#include <assert.h>
+#ifndef assert
+# include <assert.h>
+#endif
 #include "elf32.h"
 #include "elf64.h"
 

UCC git Repository :: git.ucc.asn.au