Re: Can't find mysql.h
Re: Can't find mysql.h
- Subject: Re: Can't find mysql.h
- From: Andy Lee <email@hidden>
- Date: Tue, 26 Feb 2002 04:58:57 -0500
What he said.
I'd add the suggestion that you use #import rather than #include. #import ensures the compiler (preprocessor) will only try to include the file once. Not that it's likely you'd have a problem with redundant includes in this case, but you should use #import for consistency and "just in case."
--Andy
At 12:11 AM -0800 2/26/02, Sam Goldman wrote:
>
I don't think you want #import "mysql.h"
>
>
Instead, put:
>
>
#include <mysql.h>
>
>
Using quotes means it wants a file in the relative directory to your current
>
file. The angle brackets mean somewhere in the build settings' search path.
>
>
HTH,
>
- Sam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.