Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.

Bugfix candidate.
This commit is contained in:
Jack Jansen 2002-09-10 12:32:47 +00:00
parent 2575022aef
commit 47ec141963
5 changed files with 40 additions and 2 deletions

View file

@ -40,6 +40,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
** Resources that reside in the python executable (or, for
** shared ppc python, in the core dynamic library)
*/
#ifndef Py_PYTHONRESOURCES_H
#define Py_PYTHONRESOURCES_H
#ifdef __cplusplus
extern "C" {
#endif
#define BASE_ID 228
@ -181,3 +187,9 @@ char * PyMac_GetPythonDir(void);
/* from macmain.c: */
extern PyMac_PrefRecord PyMac_options;
#endif
#ifdef __cplusplus
}
#endif
#endif