diff options
author | Jenna Fox <a@creativepony.com> | 2012-09-30 11:14:00 +1000 |
---|---|---|
committer | Jenna Fox <a@creativepony.com> | 2012-09-30 11:14:00 +1000 |
commit | b5632254e453044e12ab3770f3f53dae2069437a (patch) | |
tree | 92ae68c1536683c43ceb75c31231466f81e7470d /commandline/library/micronucleus_lib.h | |
parent | 93ee4971efb6d74d1c19791567c06239e9630e1d (diff) | |
download | micronucleus-b5632254e453044e12ab3770f3f53dae2069437a.tar.gz micronucleus-b5632254e453044e12ab3770f3f53dae2069437a.tar.bz2 micronucleus-b5632254e453044e12ab3770f3f53dae2069437a.zip |
Added Mac OS X compatibility to Ihsan's cli upload program
Diffstat (limited to 'commandline/library/micronucleus_lib.h')
-rw-r--r-- | commandline/library/micronucleus_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commandline/library/micronucleus_lib.h b/commandline/library/micronucleus_lib.h index 8a004e4..b724a60 100644 --- a/commandline/library/micronucleus_lib.h +++ b/commandline/library/micronucleus_lib.h @@ -27,10 +27,10 @@ /******************************************************************************** * Header files ********************************************************************************/ -#if defined(LINUX) - #include <usb.h> // this is libusb, see http://libusb.sourceforge.net/ -#else +#if defined WIN #include <lusb0_usb.h> // this is libusb, see http://libusb.sourceforge.net/ +#else + #include <usb.h> // this is libusb, see http://libusb.sourceforge.net/ #endif #include "opendevice.h" // common code moved to separate module /*******************************************************************************/ |