as simple as?

#define Cursor sqliteCursor

...sqlite3.c...

#undef Cursor


Mark Gilbert wrote:
Folks.

I am trying to include the amalgamation sqlite3.c file into my project (instead of linking to the built in library). I am on OSX 10.4.9

Unfortunately sqlite3.c redefines a structure called Cursor which is already defined in Quickdraw.h which is fundamental part of Mac.

Any suggestions on how I can avoid the error, 'redefinition of struct Cursor' ??

Mark

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to