mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-07 16:56:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
13
BeefySysLib/platform/osx/BFPlatform.cpp
Normal file
13
BeefySysLib/platform/osx/BFPlatform.cpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
#include "Common.h"
|
||||
#include "BFPlatform.h"
|
||||
#include <CoreFoundation/CFByteOrder.h>
|
||||
#include <mach/mach_time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dlfcn.h>
|
||||
#include <wchar.h>
|
||||
#include <fcntl.h>
|
||||
#include <mach/clock.h>
|
||||
#include <mach/mach.h>
|
||||
#include <time.h>
|
||||
#include <dirent.h>
|
||||
|
23
BeefySysLib/platform/osx/BFPlatform.h
Normal file
23
BeefySysLib/platform/osx/BFPlatform.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#define BFSTDCALL __stdcall
|
||||
|
||||
#include "../darwin/DarwinCommon.h"
|
||||
|
||||
#define BF_PLATFORM_OSX
|
||||
|
||||
#ifdef BFSYSLIB_DYNAMIC
|
||||
#define BF_EXPORT extern "C" __declspec(dllexport)
|
||||
#define BF_CALLTYPE
|
||||
#else
|
||||
#define BF_EXPORT extern "C"
|
||||
#define BF_CALLTYPE
|
||||
#define BF_RESOURCES_REL_DIR "../Resources"
|
||||
#endif
|
||||
|
||||
#ifdef BF32
|
||||
#define BF_REGISTER_COUNT 7
|
||||
#else
|
||||
#define BF_REGISTER_COUNT 15
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue