#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
-#define NewSndCallBackProc(x) (x)
+#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x))
#define SndListHandle Handle
#endif
#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
-#define NewSndCallBackProc(x) (x)
+#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x))
#define SndListHandle Handle
#endif
"""
#include <AEObjects.h>
#include <Desk.h>
#include <Fonts.h>
+#include <TextEdit.h>
+#include <Menus.h>
+#include <Dialogs.h>
+#include <Windows.h>
#ifdef GENERATINGCFM /* Defined to 0 or 1 in Universal headers */
#define HAVE_UNIVERSAL_HEADERS
{
static char appname[256];
FSSpec appspec;
- long size;
if (current_process_location(&appspec))
return NULL;
static void
init_mac_world()
{
+#ifdef THINK_C
+ printf("\n");
+#else
MaxApplZone();
InitGraf(&qd.thePort);
InitFonts();
InitDialogs((long)0);
InitMenus();
InitCursor();
+#endif
}
/* Get the argv vector, return argc */