(dst)->bv_val = (bv)->bv_val; \
} while (0)
-#ifndef STRLENOF
-#define STRLENOF(s) (sizeof(s)-1)
-#endif
-
-#define BER_BVC(s) { STRLENOF(s), (char *)(s) }
+#define BER_STRLENOF(s) (sizeof(s)-1)
+#define BER_BVC(s) { BER_STRLENOF(s), (char *)(s) }
#define BER_BVNULL { 0L, NULL }
#define BER_BVZERO(bv) \
do { \
} while (0)
#define BER_BVSTR(bv,s) \
do { \
- (bv)->bv_len = STRLENOF(s); \
+ (bv)->bv_len = BER_STRLENOF(s); \
(bv)->bv_val = (s); \
} while (0)
#define BER_BVISNULL(bv) ((bv)->bv_val == NULL)