Skip to content

Commit

Permalink
Fix linux/gcc compile
Browse files Browse the repository at this point in the history
  • Loading branch information
mvtiaine committed Nov 4, 2023
1 parent b2a95ba commit 9aec943
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 30 deletions.
1 change: 0 additions & 1 deletion src/3rdparty/hvl/replay.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <stdlib.h>
#include <math.h>

#include "types.h"
#include <string.h>

#include "replay.h"
Expand Down
18 changes: 17 additions & 1 deletion src/3rdparty/hvl/replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,23 @@
#ifndef _HVL_REPLAY_H
#define _HVL_REPLAY_H

#include "types.h"
#include <stdint.h>

typedef uint16_t uint16;
typedef uint8_t uint8;
typedef int16_t int16;
typedef int8_t int8;
typedef uint32_t uint32;
typedef int32_t int32;

typedef double float64;
typedef char TEXT;
typedef short BOOL;
typedef int32_t LONG;
typedef uint32_t ULONG;
#define FALSE 0
#define TRUE 1
#define CONST const

// Woohoo!
#define MAX_CHANNELS 16
Expand Down
28 changes: 0 additions & 28 deletions src/3rdparty/hvl/types.h

This file was deleted.

0 comments on commit 9aec943

Please sign in to comment.