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.
|
- #ifndef __json_c_strdup_compat_h
- #define __json_c_strdup_compat_h
-
- /**
- * @file
- * @brief Do not use, json-c internal, may be changed or removed at any time.
- */
-
- #if !defined(HAVE_STRDUP) && defined(_MSC_VER)
- /* MSC has the version as _strdup */
- #define strdup _strdup
- #elif !defined(HAVE_STRDUP)
- #error You do not have strdup on your system.
- #endif /* HAVE_STRDUP */
-
- #endif
|