Skip to content

Commit

Permalink
Restore previous qhyccdstruct due to linkage failure
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Nov 3, 2024
1 parent bfb7af8 commit 576b79c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
Binary file modified libqhy/libqhyccd.dylib
Binary file not shown.
Binary file modified libqhy/libqhyccd_armv8.bin
Binary file not shown.
26 changes: 4 additions & 22 deletions libqhy/qhyccdstruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#ifndef __QHYCCDSTRUCTDEF_H__
#define __QHYCCDSTRUCTDEF_H__

#if __CPP_MODE__
#if defined (_WIN32)
#ifndef EXPORTFUNC
#define EXPORTFUNC extern "C" __declspec(dllexport)
Expand All @@ -25,23 +24,6 @@
#define STDCALL
#define EXPORTC extern "C"
#endif
#else
#if defined (_WIN32)
#ifndef EXPORTFUNC
#define EXPORTFUNC
#endif
#ifndef STDCALL
#define STDCALL
#endif
#ifndef EXPORTC
#define EXPORTC
#endif
#else
#define EXPORTFUNC
#define STDCALL
#define EXPORTC
#endif
#endif

#include "stdint.h"

Expand All @@ -64,10 +46,6 @@ typedef uint64_t QHYDWORD;

#endif

/**
* usb vendor request command
*/
#define QHYCCD_REQUEST_RQT 0x00

/**
* usb vendor request command
Expand Down Expand Up @@ -382,5 +360,9 @@ typedef QHYDWORD (*QHYCCDProcCallBack) (void *handle,
QHYDWORD lParam);
#endif

/**
* usb vendor request command
*/
#define QHYCCD_REQUEST_RQT 0x00

#endif

0 comments on commit 576b79c

Please sign in to comment.