X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=sv.h;h=425acc38328632c1eebeec4fe31d848ab99a40c4;hb=c5b802edbc2f0c65267eeef77229d452ab090751;hp=d9522c40f93fd6054477803c57ed8c384ff04b5d;hpb=9b2db8e94a2dd349aad72259cdcdd425bf501466;p=p5sagit%2Fp5-mst-13.2.git diff --git a/sv.h b/sv.h index d9522c4..425acc3 100644 --- a/sv.h +++ b/sv.h @@ -61,7 +61,7 @@ typedef enum { /* Using C's structural equivalence to help emulate C++ inheritance here... */ -struct sv { +struct STRUCT_SV { void* sv_any; /* pointer to something */ U32 sv_refcnt; /* how many references to us */ U32 sv_flags; /* what we are */ @@ -202,11 +202,7 @@ perform the upgrade if necessary. See C. #define SVp_POK 0x04000000 /* has valid non-public pointer value */ #define SVp_SCREAM 0x08000000 /* has been studied? */ -#ifdef EBCDIC -#define SVf_UTF8 0x00000000 /* SvPVX is not UTF-8 encoded */ -#else #define SVf_UTF8 0x20000000 /* SvPVX is UTF-8 encoded */ -#endif #define SVf_THINKFIRST (SVf_READONLY|SVf_ROK|SVf_FAKE|SVf_UTF8)