PostGIS  2.1.10dev-r@@SVN_REVISION@@
#define FLAGS_SET_READONLY (   flags,
  value 
)    ((flags) = (value) ? ((flags) | 0x10) : ((flags) & 0xEF))