diff options
author | Pete Batard <pbatard@gmail.com> | 2010-09-21 15:24:22 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-09-21 15:24:22 +0100 |
commit | 54e0ee800d58583520b870a29a4c6e7c2619b33f (patch) | |
tree | b67672c16a8c8db351c415e20e2b0dc5453eedf0 /autogen.sh | |
parent | f3913186955bbed18526efc3e4aa1341959df405 (diff) | |
download | libusb-54e0ee800d58583520b870a29a4c6e7c2619b33f.tar.gz |
fixed missing def entries for function calls with no args
* this is needed for libusb_getversion() in MinGW32
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ create_def() # calls in MinGW generated objects, and .def based MS generated DLLs don't # have such a decoration => linking to MS DLL will fail without aliases. # Currently, the maximum size is 32 and all sizes are multiples of 4 - for i in 4 8 12 16 20 24 28 32 + for i in 0 4 8 12 16 20 24 28 32 do sed -n -e "s/.*API_EXPORTED.*\([[:blank:]]\)\(libusb.*\)(.*/ \2@$i = \2/p" libusb/*.c >> libusb/libusb-1.0.def sed -n -e "s/.*LIBUSB_CALL.*\([[:blank:]]\)\(libusb.*\)(.*/ \2@$i = \2/p" libusb/*.c >> libusb/libusb-1.0.def |