Mercurial > cpython-lru_cache-weakref
diff Mac/Include/pythonresources.h @ 25181:8a6f54b76343 legacy-trunk
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 10 Sep 2002 12:32:47 +0000 |
| parents | f4af27cb2632 |
| children | 40f8b648e765 |
line wrap: on
line diff
--- a/Mac/Include/pythonresources.h Tue Sep 10 12:22:32 2002 +0000 +++ b/Mac/Include/pythonresources.h Tue Sep 10 12:32:47 2002 +0000 @@ -40,6 +40,12 @@ ** 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 @@ /* from macmain.c: */ extern PyMac_PrefRecord PyMac_options; #endif + +#ifdef __cplusplus +} +#endif + +#endif
