|
@@ -1,23 +1,5 @@
|
1
|
1
|
package sg
|
2
|
2
|
|
3
|
|
-/*
|
4
|
|
-#cgo amd64 386 CFLAGS: -DX86=1
|
5
|
|
-#cgo darwin, 386, !arm,!arm64 LDFLAGS: -lpthread
|
6
|
|
-#cgo darwin,arm,386, LDFLAGS: -framework CoreFoundation
|
7
|
|
-#cgo darwin,arm64,386, LDFLAGS: -framework CoreFoundation
|
8
|
|
-#cgo dragonfly LDFLAGS: -lpthread
|
9
|
|
-#cgo freebsd LDFLAGS: -lpthread
|
10
|
|
-#cgo android LDFLAGS: -llog
|
11
|
|
-#cgo !android,linux LDFLAGS: -lpthread
|
12
|
|
-#cgo netbsd LDFLAGS: -lpthread
|
13
|
|
-#cgo openbsd LDFLAGS: -lpthread
|
14
|
|
-
|
15
|
|
-#cgo CFLAGS: -Wall -Werror
|
16
|
|
-
|
17
|
|
-#cgo solaris CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
|
18
|
|
-
|
19
|
|
-*/
|
20
|
|
-import "C"
|
21
|
3
|
import (
|
22
|
4
|
"archive/zip"
|
23
|
5
|
"bytes"
|