summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:32:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:32:46 (GMT)
commit37249c55248d8e355e3184d597f89aace42798ab (patch)
tree3e4e762f3b06792bed9b31382ceb3d238642f770 /Mac/Modules
parentf387e2d12b18039156d0651d323069a0b2e63d63 (diff)
downloadcpython-37249c55248d8e355e3184d597f89aace42798ab.zip
cpython-37249c55248d8e355e3184d597f89aace42798ab.tar.gz
cpython-37249c55248d8e355e3184d597f89aace42798ab.tar.bz2
WITHOUT_FRAMEWORKS conditional code bites the dust: this was for
pre-carbon MacOS9 support.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ColorPickermodule.c4
-rw-r--r--Mac/Modules/Nav.c4
-rw-r--r--Mac/Modules/OSATerminology.c4
-rw-r--r--Mac/Modules/gestaltmodule.c5
-rw-r--r--Mac/Modules/icgluemodule.c4
-rw-r--r--Mac/Modules/macosmodule.c8
6 files changed, 0 insertions, 29 deletions
diff --git a/Mac/Modules/ColorPickermodule.c b/Mac/Modules/ColorPickermodule.c
index 12a632f..ec0afa7 100644
--- a/Mac/Modules/ColorPickermodule.c
+++ b/Mac/Modules/ColorPickermodule.c
@@ -21,11 +21,7 @@ PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-#ifdef WITHOUT_FRAMEWORKS
-#include <ColorPicker.h>
-#else
#include <Carbon/Carbon.h>
-#endif
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c
index a679df7..54f852f 100644
--- a/Mac/Modules/Nav.c
+++ b/Mac/Modules/Nav.c
@@ -32,11 +32,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Navigation.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *ErrorObject;
diff --git a/Mac/Modules/OSATerminology.c b/Mac/Modules/OSATerminology.c
index 2d8b1e2..a3ed4b4 100644
--- a/Mac/Modules/OSATerminology.c
+++ b/Mac/Modules/OSATerminology.c
@@ -9,11 +9,7 @@
#include "Python.h"
#include "macglue.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <OpenScripting.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *
PyOSA_GetAppTerminology(PyObject* self, PyObject* args)
diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c
index 11946a5..8097de8 100644
--- a/Mac/Modules/gestaltmodule.c
+++ b/Mac/Modules/gestaltmodule.c
@@ -27,12 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "macglue.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Types.h>
-#include <Gestalt.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *
gestalt_gestalt(PyObject *self, PyObject *args)
diff --git a/Mac/Modules/icgluemodule.c b/Mac/Modules/icgluemodule.c
index 56c20a3..ee42c59 100644
--- a/Mac/Modules/icgluemodule.c
+++ b/Mac/Modules/icgluemodule.c
@@ -34,11 +34,7 @@ PERFORMANCE OF THIS SOFTWARE.
extern int ResObj_Convert(PyObject *, Handle *); /* From Resmodule.c */
-#ifdef WITHOUT_FRAMEWORKS
-#include <InternetConfig.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *ErrorObject;
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 3217f86..242cf57 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -28,16 +28,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "macglue.h"
#include "pythonresources.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Windows.h>
-#include <Files.h>
-#include <LowMem.h>
-#include <Sound.h>
-#include <Events.h>
-#else
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
-#endif
static PyObject *MacOS_Error; /* Exception MacOS.Error */