You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

libjson.c 653 B

123456789101112131415161718192021222324252627
  1. /* dummy source file for compatibility purposes */
  2. #if defined(HAVE_CDEFS_H)
  3. #include <sys/cdefs.h>
  4. #endif
  5. #ifndef __warn_references
  6. #ifdef __GNUC__
  7. #define __warn_references(sym,msg) \
  8. __asm(".pushsection .gnu.warning." #sym "\n" \
  9. ".ascii \"" msg "\"\n" \
  10. ".popsection");
  11. #else
  12. #define __warn_references(sym,msg) /* nothing */
  13. #endif
  14. #endif
  15. #include "json_object.h"
  16. __warn_references(json_object_get, "Warning: please link against libjson-c instead of libjson");
  17. /* __asm__(".section .gnu.warning." __STRING(sym) \
  18. " ; .ascii \"" msg "\" ; .text") */