Skip to content

Commit

Permalink
comment out the moc defs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Nov 29, 2015
1 parent aa806f0 commit 71e627e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rtlsdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ import (
// $ sudo rmmod dvb_usb_rtl28xxu rtl2832
// If building libusb from source, to regenerate the configure file use:
// $ autoreconf -fvi
#ifdef MOC_TEST
//#ifdef MOC_TEST
// gcc -fPIC -shared -o librtlsdr_moc.so librtlsdr_moc.c
// CC="gcc -DMOCK_TEST" go build -o gortlsdr.a rtlsdr.go exports.go
#cgo linux LDFLAGS: -L. -lrtlsdr_moc
#else
//#cgo linux LDFLAGS: -L. -lrtlsdr_moc
//#else
#cgo linux LDFLAGS: -lrtlsdr
#cgo darwin LDFLAGS: -lrtlsdr
#cgo windows CFLAGS: -IC:/WINDOWS/system32
#cgo windows LDFLAGS: -lrtlsdr -LC:/WINDOWS/system32
#endif
//#endif
#include <stdlib.h>
#include <rtl-sdr.h>
Expand Down

0 comments on commit 71e627e

Please sign in to comment.