summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-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 */