Synch recent 3.4.2 changes to main trunk
This is merely a synchronization of recent changes for the Macintosh Carbon port, which were committed to the 3.4.2 branch, to the main trunk.
This commit is contained in:
@@ -8,12 +8,16 @@
|
||||
|
||||
#include "hack.h"
|
||||
#include "macwin.h"
|
||||
|
||||
#ifndef __MACH__
|
||||
#include <files.h>
|
||||
#include <errors.h>
|
||||
#include <resources.h>
|
||||
#include <memory.h>
|
||||
#include <TextUtils.h>
|
||||
#include <ToolUtils.h>
|
||||
#endif
|
||||
|
||||
#include "dlb.h"
|
||||
|
||||
/*
|
||||
@@ -363,6 +367,18 @@ macseek (int fd, long where, short whence)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
macunlink(const char *name)
|
||||
{
|
||||
Str255 pname;
|
||||
|
||||
|
||||
C2P(name, pname);
|
||||
return (HDelete(theDirs.dataRefNum, theDirs.dataDirID, pname) == noErr ? 0 : -1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
boolean rsrc_dlb_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user