--- deliantra/server/include/cfperl.h 2008/04/11 13:59:06 1.95 +++ deliantra/server/include/cfperl.h 2008/11/16 03:52:12 1.100 @@ -52,7 +52,9 @@ #undef srand48 #undef drand48 #undef srandom +#undef opendir #undef readdir +#undef closedir #undef getprotobyname #undef gethostbyname #undef ctime @@ -111,6 +113,7 @@ # define SvUVAL64 SvUV #else typedef double val64; + typedef double uval64; # define newSVval64 newSVnv # define SvVAL64 SvNV # define newSVuval64 newSVnv @@ -182,14 +185,14 @@ { static MGVTBL vtbl; - static unordered_vector mortals; - MTH static void check_mortals (); - enum { F_DESTROYED = 0x01, F_DEBUG_TRACE = 0x02, }; - int ACC (RW, flags); + uint8 ACC (RW, flags); + + static unordered_vector mortals; + MTH static void check_mortals (); // object is delete'd after the refcount reaches 0 MTH int refcnt_cnt () const;