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