diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 11:38:03 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-04 11:38:03 +0800 |
commit | 8e80f8dfbc1d07fbc951e654d1143e10c866d638 (patch) | |
tree | 51c164ddfdea336a8fe1ddee219cfbc734b89669 /include/pttstruct.h | |
parent | cfe2d30c2a8fb3a5c1e6b99c0b26bfd61fca520b (diff) | |
download | pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar.gz pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar.bz2 pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar.lz pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar.xz pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.tar.zst pttbbs-8e80f8dfbc1d07fbc951e654d1143e10c866d638.zip |
Fix compile error.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 7a419c42..c32c615b 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -123,12 +123,15 @@ typedef struct userec_t { #define REJECT_OUTTAMAIL (cuser.uflag2 & REJ_OUTTAMAIL) #define REJ_QUESTION 0x800 /* true if don't want to be angel for a while */ #define REJECT_QUESTION (cuser.uflag2 & REJ_QUESTION) + +#ifdef PLAY_ANGEL #define ANGEL_MASK 0x3000 #define ANGEL_R_MAEL 0x1000 /* true if reject male */ #define ANGEL_R_FEMAEL 0x2000 /* true if reject female */ #define ANGEL_STATUS() ((cuser.uflag2 & ANGEL_MASK) >> 12) #define ANGEL_SET(X) (cuser.uflag2 = (cuser.uflag2 & ~ANGEL_MASK) | \ - ((X & 3) << 12)) + (((X) & 3) << 12)) +#endif #define BTLEN 48 /* Length of board title */ |