mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-16 05:29:38 +00:00
33 lines
567 B
C
33 lines
567 B
C
/*
|
|
* Apple // emulator for *ix
|
|
*
|
|
* This software package is subject to the GNU General Public License
|
|
* version 3 or later (your choice) as published by the Free Software
|
|
* Foundation.
|
|
*
|
|
* Copyright 2013-2015 Aaron Culliney
|
|
*
|
|
*/
|
|
|
|
#ifndef _CPU_REGS_H_
|
|
#define _CPU_REGS_H_
|
|
|
|
#include "common.h"
|
|
|
|
#ifdef __APPLE__
|
|
|
|
#if !defined(CLOCK_MONOTONIC)
|
|
# define CLOCK_MONOTONIC 1
|
|
#endif
|
|
#if !defined(CLOCK_REALTIME)
|
|
# define CLOCK_REALTIME 2
|
|
#endif
|
|
|
|
#define clock_gettime my_clock_gettime
|
|
|
|
int my_clock_gettime(int, struct timespec *);
|
|
|
|
#endif // __APPLE__
|
|
|
|
#endif
|