-#if YAZ_VERSIONL > 0x4023e
-#define strcmp_null(x, y) yaz_strcmp_null(x, y)
-#else
-#define strcmp_null(x, y) local_strcmp_null(x, y)
-
-static int local_strcmp_null(const char *v1, const char *v2)
-{
- if (v1)
- {
- if (v2)
- return strcmp(v1, v2);
- else
- return 1;
- }
- else if (v2)
- return -1;
- return 0;
-}
-#endif
-