1 #ifndef __strdup_compat_h 2 #define __strdup_compat_h 3 4 /** 5 * @file 6 * @brief Do not use, json-c internal, may be changed or removed at any time. 7 */ 8 9 #if !defined(HAVE_STRDUP) && defined(_MSC_VER) 10 /* MSC has the version as _strdup */ 11 #define strdup _strdup 12 #elif !defined(HAVE_STRDUP) 13 #error You do not have strdup on your system. 14 #endif /* HAVE_STRDUP */ 15 16 #endif 17
This page was automatically generated by LXR 0.3.1. • OpenWrt