Write resource forks in Mac OS X, the Carbon way.

This commit is contained in:
2021-03-16 05:39:41 +00:00
parent 6dd972c781
commit 095ba13a3c
7 changed files with 1421 additions and 5 deletions

View File

@@ -24,7 +24,14 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "../include/defs.h"
#if defined(__APPLE__) && defined(__MACH__)
#include "../darwin/darwin.h"
#endif
void ResourceFork(const char* path)
{
#if defined(__APPLE__) && defined(__MACH__)
DarwinResourceFork(path);
#endif
// Not supported
}