• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't find mysql.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't find mysql.h


  • Subject: Re: Can't find mysql.h
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 26 Feb 2002 19:40:39 +0000

On Tuesday, February 26, 2002, at 09:58 AM, Andy Lee wrote:

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."

If it's a C header, it most likely has something similar to

#ifndef MYSQL_H
#define MYSQL_H

... header declares etc etc

#endif /* MYSQL_H */

Anyway, shouldn't be important. :-)

-- Finlay
_______________________________________________
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.

References: 
 >Re: Can't find mysql.h (From: Andy Lee <email@hidden>)

  • Prev by Date: Re:NSBezierPath alloc
  • Next by Date: Re: text-to-speech problems, or is it just me?
  • Previous by thread: Re: Can't find mysql.h
  • Next by thread: Re: Can't find mysql.h
  • Index(es):
    • Date
    • Thread