mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
56f37ed42b
Closes #2695
24 lines
539 B
C
24 lines
539 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard
|
|
// SPDX-FileCopyrightText: 2006-2017 Camilla Löwy <elmindreda@glfw.org>
|
|
// SPDX-FileCopyrightText: 2023 The Ebitengine Authors
|
|
|
|
//go:build freebsd || linux || netbsd || openbsd
|
|
|
|
#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerPOSIX posix
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
// POSIX-specific global timer data
|
|
//
|
|
typedef struct _GLFWtimerPOSIX
|
|
{
|
|
GLFWbool monotonic;
|
|
uint64_t frequency;
|
|
} _GLFWtimerPOSIX;
|
|
|
|
|
|
void _glfwInitTimerPOSIX(void);
|
|
|