Nick Kew wrote:

To take a real example from the existing drivers, that works with

   typedef struct apr_dbd_prepared apr_dbd_prepared;

   struct apr_dbd_prepared {
       const char *name;
       int prepared;
   };

but fails with

   typedef struct apr_dbd_prepared apr_dbd_prepared;

   typedef MYSQL_STMT apr_dbd_prepared;

IOW, removing the #ifdefs would force drivers to wrap everything,
even if they have no good reason to do so. KISS!


I see. Well, in this case, I think no kissing...

-- Brane

Reply via email to