Make the JNI bindings compile on Windows

This commit is contained in:
Cameron Gutman
2013-12-12 17:05:40 -05:00
parent 2935403046
commit 8b45d95d60
2 changed files with 22 additions and 0 deletions
@@ -4,6 +4,14 @@
OpusDecoder* decoder;
#ifdef _WIN32
#pragma comment(lib, "opus.lib")
#pragma comment(lib, "celt.lib")
#pragma comment(lib, "silk_common.lib")
#pragma comment(lib, "silk_float.lib")
#endif
// This function must be called before
// any other decoding functions
int nv_opus_init(void) {