add: unix/linux lib support; upload libs

This commit is contained in:
2024-03-24 17:36:44 +08:00
parent d8a0944810
commit 602c6ed43a
2 changed files with 11 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
#include "ncmcrypt.h"
#ifdef _WIN32
#define API __declspec(dllexport)
#else
#define API
#endif
extern "C" {
API NeteaseCrypt* CreateNeteaseCrypt(const char* path) {