Tests: Fix broken OS-X and Linux builds
commitc56f89068452f6ff144cd72ad234540049c06433
authorXiaofan Chen <xiaofanc@gmail.com>
Sun, 24 Feb 2013 05:50:00 +0000 (24 05:50 +0000)
committerPete Batard <pete@akeo.ie>
Sun, 24 Feb 2013 23:03:32 +0000 (24 23:03 +0000)
tree1de280acd39234920974f6995e899a435ccbee90
parente35c17b1d412b66a89138af7b403a09f9778a987
Tests: Fix broken OS-X and Linux builds

* _dup2 is Windows only. Use dup2 instead
* Breakage was introduced in 76eecc6ce11d1bedee369859899901037dcd4cc2
libusb/version_nano.h
tests/testlib.c