summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 17:03:31 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 17:03:31 +0800
commitf115309f094fb58ce49a14a24d58144aa13d3e5c (patch)
treee649f8eb9c637e799fcab4879480c54c21192ddd
parent2e8dbc427eb9b70b674018ff8f96b0eca105f0a2 (diff)
downloadpttbbs.pwcu.tar
pttbbs.pwcu.tar.gz
pttbbs.pwcu.tar.bz2
pttbbs.pwcu.tar.lz
pttbbs.pwcu.tar.xz
pttbbs.pwcu.tar.zst
pttbbs.pwcu.zip
* make const_cuser defaultpttbbs.pwcu
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4824 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/pttstruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index deae733a..4a8b76a9 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -139,7 +139,7 @@ typedef struct userec_t {
char pad_tail[28];
} PACKSTRUCT userec_t;
-#ifdef CONST_CUSER
+#ifndef NO_CONST_CUSER
// const userec_t cuser;
# define cuser_ref ((const userec_t*)&pwcuser)
# define cuser (*cuser_ref)