upload android base code part4
This commit is contained in:
parent
b9e30e05b1
commit
78ea2404cd
23455 changed files with 5250148 additions and 0 deletions
26
android/hardware/qcom/msm8998/json-c/libjson.c
Normal file
26
android/hardware/qcom/msm8998/json-c/libjson.c
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
/* dummy source file for compatibility purposes */
|
||||
|
||||
#if defined(HAVE_CDEFS_H)
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
|
||||
#ifndef __warn_references
|
||||
|
||||
#if defined(__GNUC__) && defined (HAS_GNU_WARNING_LONG)
|
||||
|
||||
#define __warn_references(sym,msg) \
|
||||
__asm__(".section .gnu" #sym ",\n\t.ascii \"" msg "\"\n\t.text");
|
||||
|
||||
#else
|
||||
#define __warn_references(sym,msg) /* nothing */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#include "json_object.h"
|
||||
|
||||
__warn_references(json_object_get, "Warning: please link against libjson-c instead of libjson");
|
||||
|
||||
/* __asm__(".section .gnu.warning." __STRING(sym) \
|
||||
" ; .ascii \"" msg "\" ; .text") */
|
Loading…
Add table
Add a link
Reference in a new issue