waywardgeek / infnoise

The world's easiest TRNG to get right
Creative Commons Zero v1.0 Universal
732 stars 100 forks source link

Update infnoise.c #29

Closed ghost closed 6 years ago

ghost commented 7 years ago

On Manjaro 17.0.2 64b, ' make' results in:

infnoise.c:6:19: error: expected identifier before numeric constant

define VENDOR_ID 0x0403

               ^

/usr/include/libftdi1/ftdi.h:279:5: note: in expansion of macro ‘VENDOR_ID’ VENDOR_ID = 0, ^~~~~ make: *** [Makefile:15: infnoise] Error 1

After I changed 'VENDOR_ID' and 'PRODUCT_ID' to 'VENDORID' and 'PRODUCTID' in infnoise.c, it compiles without a problem.

manuel-domke commented 7 years ago

Already fixed in pull request #27. Sorry for the trouble. It worked on my machine ;-D