Descriptioncgo: os/arch dependent #cgo directives
This enables #cgo directives to contain a os/arch
specification which restricts the definition of
the given option to matching systems.
For example:
#cgo amd64 CFLAGS: -DAMD64=1
#cgo linux CFLAGS: -DLINUX=1
#cgo linux/amd64 CFLAGS: -DLINUX_ON_AMD64=1
Patch Set 1 #Patch Set 2 : code review 4121048: cgo: os/arch dependent #cgo directives #Patch Set 3 : code review 4121048: cgo: os/arch dependent #cgo directives #Patch Set 4 : code review 4121048: cgo: os/arch dependent #cgo directives #Patch Set 5 : code review 4121048: cgo: os/arch dependent #cgo directives #
Total comments: 2
MessagesTotal messages: 5
|