Include guards
Posted: Thu Jun 12, 2008 2:26 am
Would you mind putting include guards in your header files, Scott? At least the chipmunk.h header would benefit from having
at the top of the file and an #endif at the bottom. It's becoming somewhat painful to have to make sure that that header file is included exactly once for any of my source files.
Code: Select all
#ifndef _CHIPMUNK_H_
#define _CHIPMUNK_H_