Skip to content

Commit 19c0e3e

Browse files
committed
android: resolve build tag
1 parent dc3513b commit 19c0e3e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clipboard_android.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Written by Changkun Ou <changkun.de>
66

7-
//go:build !linux && android
7+
//go:build android
88

99
#include <android/log.h>
1010
#include <jni.h>
@@ -77,4 +77,4 @@ void clipboard_write_string(uintptr_t java_vm, uintptr_t jni_env, uintptr_t ctx,
7777
jmethodID setText = find_method(env, mgrClass, "setText", "(Ljava/lang/CharSequence;)V");
7878

7979
(*env)->CallVoidMethod(env, mgr, setText, (*env)->NewStringUTF(env, str));
80-
}
80+
}

clipboard_android.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Written by Changkun Ou <changkun.de>
66

7-
//go:build !linux && android
7+
//go:build android
88

99
package clipboard
1010

0 commit comments

Comments
 (0)