[fix] fix redefinition error on MacOSX

This commit is contained in:
dijunkun
2024-11-07 16:32:35 +08:00
parent 4c6159e4d4
commit 963f1da1d8
2 changed files with 8 additions and 3 deletions

View File

@@ -9,7 +9,12 @@
#include <stdio.h>
typedef enum { mouse = 0, keyboard, audio_capture, host_info } ControlType;
typedef enum {
mouse = 0,
keyboard,
audio_capture,
host_infomation
} ControlType;
typedef enum { move = 0, left_down, left_up, right_down, right_up } MouseFlag;
typedef enum { key_down = 0, key_up } KeyFlag;
typedef struct {