Changeset 0af9724 in git


Ignore:
Timestamp:
2009-08-02T01:53:56Z (11 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
4bec45f
Parents:
2d2b69a
Message:

PHP 6 fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@659 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.h

    r776cc97 r0af9724  
    104104                : b->nKeyLength \
    105105                ))
    106 #define BUCKET_KEY_S(b)    (UNISW((b)->arKey, (b)->key.arKey.s))
    107 #define BUCKET_KEY_U(b)    (UNISW((b)->arKey, (b)->key.arKey.u))
     106#define BUCKET_KEY(b)      (UNISW((b)->arKey, (b)->key.arKey))
     107#define BUCKET_KEY_S(b)    ZSTR_S(BUCKET_KEY(b))
     108#define BUCKET_KEY_U(b)    ZSTR_U(BUCKET_KEY(b))
    108109#define BUCKET_KEY_TYPE(b) (UNISW(IS_STRING,  (b)->key.type))
    109110#ifdef IS_UNICODE
Note: See TracChangeset for help on using the changeset viewer.